Id like to make a motion that archive #13734: "To Enable Berserkers" be unarchived. This question seems to come up alot and I think this should be stickied somewhere, maybe in support, actually.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Senior Member Former EQEmu Developer Current EQ2Emu Lead Developer
Join Date: Dec 2002
Posts: 1,065
Done, for now I moved it to the Support::Tutorials/Howto's forum and made it a sticky. Whether it stays there is another question as I am going to be reorganizing the forums soon.
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.