BOOST_STATIC_ASSERT with boost::array.static_size

Dear boost users, could someone tell me why this short program does not
compile?
#include

2013/7/11 Anton Daneyko
Dear boost users, could someone tell me why this short program does not compile?
#include
#include int main(int argc, const char *argv[]) { boost::array
a1 = {{1, 1, 1}}; BOOST_STATIC_ASSERT(a1.static_size == 3); return 0; }
You must write BOOST_STATIC_ASSERT(boost::array
participants (2)
-
Anton Daneyko
-
Antony Polukhin