[libcxx] r237636 - Add support for N4389 - std::bool_constant

Marshall Clow mclow.lists at gmail.com
Tue May 19 12:32:20 PDT 2015


On Tue, May 19, 2015 at 7:19 AM, Eric Fiselier <eric at efcs.ca> wrote:

> What is the rational for using the _LIBCPP_BOOL_CONSTANT macro?
>
>
Because "bool_constant" is a using declaration for
"integral_constant<bool", and we don't get that in C++03.  I don't want to
have different sets of source code for the two - hence wrapping it in a
macro

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150519/c0852518/attachment.html>


More information about the cfe-commits mailing list