Opened 15 years ago

Closed 12 years ago

#1476 closed Bugs (fixed)

always<> is not nullary.

Reported by: Shunsuke Sogame <pstade.mb@…> Owned by: Joel Falcou
Milestone: Boost 1.36.0 Component: mpl
Version: Boost Development Trunk Severity: Problem
Keywords: always Cc:

Description

mpl::always is not nullary:

#include <boost/mpl/apply.hpp>
#include <boost/mpl/always.hpp>

typedef boost::mpl::apply< boost::mpl::always<int> >::type should_be_int;

This doesn't compile. IMHO, this should compile.

Change History (2)

comment:1 by Joel Falcou, 12 years ago

Owner: changed from Aleksey Gurtovoy to Joel Falcou

comment:2 by Joel Falcou, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.