Boost logo

Boost :

Subject: [boost] [MPL] true_type,false_type versus true_,false_
From: Erik Erlandson (eje_at_[hidden])
Date: 2014-01-03 17:35:43


I've been using true_type and false_type in some of my interfaces, for example:
https://github.com/erikerlandson/edit_distance/blob/master/include/boost/algorithm/sequence_alignment/edit_distance.hpp#L62

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_?


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