Index: dynamic_property_map.hpp =================================================================== --- dynamic_property_map.hpp (revisiĆ³n: 86799) +++ dynamic_property_map.hpp (copia de trabajo) @@ -117,15 +117,6 @@ namespace detail { -// Trying to work around VC++ problem that seems to relate to having too many -// functions named "get" -template -typename boost::property_traits::reference -get_wrapper_xxx(const PMap& pmap, const Key& key) { - using boost::get; - return get(pmap, key); -} - // // dynamic_property_map_adaptor - // property-map adaptor to support runtime polymorphism. @@ -171,13 +162,15 @@ virtual boost::any get(const any& key_) { - return get_wrapper_xxx(property_map_, any_cast::key_type>(key_)); + using boost::get; + return get(property_map_, any_cast::key_type>(key_)); } virtual std::string get_string(const any& key_) { std::ostringstream out; - out << get_wrapper_xxx(property_map_, any_cast::key_type>(key_)); + using boost::get; + out << get(property_map_, any_cast::key_type>(key_)); return out.str(); }