Boost logo

Boost :

Subject: Re: [boost] [gil] compiler error with clang in c++11 mode
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-02-04 19:27:00

Hi Marshall,

> or, even better, to:
> struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,std::numeric_limits<UnsignedIntegralChannel>::max()> {};
> Either of those should solve your problem, I think (depending on your standard library)

Just the heads up. Your std::numeric_limits<...>::max() doesn't
compile with Visual Studio 2010. Thanks to Nathan, I changed it to:

struct unsigned_integral_max_value : public
UnsignedIntegralChannel>::const_max> {};

This now compiles with both clang and Visual Studio.


Boost list run by bdawes at, gregod at, cpdaniel at, john at