
11 Mar
2010
11 Mar
'10
5:40 p.m.
Value. Like this.
#include <iostream>
#include <map>
void func(int* n)
{
std::cout<
Alan Tennant wrote:
I'm having difficulty storing pointers in a std::map. I can't find anything online about it, are std::maps supposed to be able to store pointers?
Sure, as key or as value? Providing a code example might help in this case.
Regards,
Rutger
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users