Boost logo

Boost Users :

Subject: Re: [Boost-users] [graph][spirit][variant] Boost.Graph and Boost.Spirit incompatible ?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-04 17:17:06


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net