I have a problem caused by breaking strict pointer alia开发者_开发百科sing rule.I have a type T that comes from a template and some integral type Int of the same size (as with sizeof).My code essentia
I have the following bit of code: #include <iostream> #include <list> #include <algorithm>
In my program, I have objects (of the same class) that must all have a unique identifier. For simplicity and performance, I chose to use the address of the object as identifier. And to keep the types