[C++-sig] policy in map_indexing_suite for map<X,const Y*>

Joel de Guzman djowel at gmail.com
Sat May 28 00:37:24 CEST 2005


Scott McKay wrote:
> Is there a way to override the usage of default_call_policies in the map 
> indexing suite without patching map_indexing_suite?
> 
> I have a std::map with a const pointer as the data type - so I need to 
> provide an appropriate call policy.

I'm sorry, but, no, not at the moment. If this is a common use case,
perhaps we should make it a part of the DerivedPolicies? Thoughts?

Cheers,
-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net



More information about the Cplusplus-sig mailing list