News

I'm trying to templatize a class, based on a list of values. The list can't be another class - template parameters need to be compile-time constants. So that leaves arrays as the option.My current ...
Just remember casting pointer to int is a bad idea. When someone port the code to 64bit the pointer will be 64bit but int usually stay at 32bit.