Subject: Re: [boost] [MPL] true_type,false_type versus true_,false_
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-01-04 02:15:31
On 1/3/2014 5:35 PM, Erik Erlandson wrote:
> I've been using true_type and false_type in some of my interfaces, for example:
> However it seems as though true_ and false_ are more compatible with MPL logic functions. Is there any particular reason to use one over the other? Would it be preferable to use true_ and false_?
Since true_type and false_type in type traits are derived from true_ and
false_ in MPL, you are fine using them if you have to interoperate with MPL.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk