2 Jun
2014
2 Jun
'14
11:21 p.m.
Hello,
On Mon, Jun 2, 2014 at 12:39 PM, Peter Dimov
Vicente J. Botet Escriba wrote:
template <> struct is_pod< blank > : true_type {};
This still breaks dispatch on mpl::true_/mpl::false_. The use case is:
void f( mpl::true_ ); void f( mpl::false_ );
struct X;
int main() { f( boost::is_something<X>() ); }
This is existing code, both inside and outside Boost.
I use this a lot. But it is really easy to fix if it breaks. But, can't Boost.Core include a integral_constant and boost.mpl just use that for false_type and true_type too? Regards, -- Felipe Magno de Almeida