
Hi Christian, Christian Henning wrote:
Hi there,
shouldn't the following work:
#include
using namespace std; using namespace boost;
int main() { typedef mpl::integral_c< unsigned char , numeric_limits< unsigned char >::max() > my_max_value_t;
return 0; }
The good news is, I think it should work in the future when constexpr is
more widely available. On compilers that aren't there yet, you need to use
something with a static constant instead.
Try:
#include