Opened 9 years ago

Last modified 9 years ago

#9137 new Bugs

mpl::and_<mpl::true_> returns false

Reported by: Agustín K-ballo Bergé <kaballo86@…> Owned by: Aleksey Gurtovoy
Milestone: Boost 1.55.0 Component: mpl
Version: Boost Development Trunk Severity: Problem
Keywords: Cc: dwalker07@…

Description

The following snippet fails to compile:

#include <boost/mpl/and.hpp>
#include <boost/mpl/bool.hpp>

int main() {
    using namespace boost::mpl;
    static_assert(and_<true_>::value, "?"); //fires
}

See also the following thread at the mailing list http://lists.boost.org/Archives/boost/2013/09/206333.php

Change History (1)

comment:1 by Daryle Walker, 9 years ago

Cc: dwalker07@… added
Note: See TracTickets for help on using tickets.