
4 Mar
2010
4 Mar
'10
10:17 p.m.
AMDG Jeremiah Willcock wrote:
I looked at changing the key_type in get to something that would SFINAE out and there isn't one: the farthest I could go is property_traits<IndexMap>::value_type (key_type in the code is a bug), and that class will fail to instantiate (non-SFINAE) on bad index map types. That can be specialized, so I can't fall back to the default definition of value_type inside it. I don't see a general-purpose solution to problem right now.
Would this break anything? template<typename PA> struct property_traits : PA {}; In Christ, Steven Watanabe