Boost logo

Boost :

Subject: Re: [boost] Disable_if_type / is_pair
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-10-12 08:24:20


On Wed, Oct 12, 2011 at 2:22 PM, Stewart, Robert <Robert.Stewart_at_[hidden]> wrote:
> I pointed you to the libraries that might offer help in this regard.  However, here I was suggesting that it might be possible to write a generic trait, like those in TypeTraits, that indicates whether c.find(v), given the c and v in your find_ptr() call, is valid.

Ah. Sorry, I don't have much experience with traits yet. I thought you
were suggesting a non-generic way. Thanks!

Olaf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk