|
Boost : |
Subject: [boost] [constrained_value] default initialization
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2008-12-06 11:45:59
I couldn't find mention of what is the initial value of
bounded_int<int, 123, 456>::type some_var;
I assume it follows the rules for an int?
The Simple constrained objects examples says the following is legal:
even_int a;
What about:
odd_int b;
Thanks,
Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk