Thanks. I presume it would be better in implementing a map that can hold left = std::string, right = "any" but only pointers to objects to have a boost::map_ptr<std::string> than a std::map<std::string, boost::any>.
Alan Tennant skrev:use
Thanks guys. I'm embarrassed to say that it was the #include <string> problem.
boost::ptr_map<std::string,int>
or
std::map<std::string,boost::shared_ptr<int>>
to manange the memory, if you need that.
-Thorsten
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users