Closed alinemartin closed 10 years ago
@troussil could you please check this issue ?
There is a new boost library in version 1.54 that provides tools to check whether a given type as a given nested type or not: http://www.boost.org/doc/libs/1_54_0/libs/tti/doc/html/index.html
We should use this TTI library in order to avoid this kind of issues: http://www.boost.org/development/int_const_guidelines.html
@dcoeurjo @JacquesOlivierLachaud What is your opinion ?
I finally only used BOOST_STATIC_CONSTANT as mentioned in http://www.boost.org/development/int_const_guidelines.html
Successfully tested with g++ 4.6.3 and clang++ 3.0 on Ubuntu 12.04
There is a build issue in IteratorCirculatorTraits in the IsCirculator test with clang3.0. It may be related to the trick http://en.wikipedia.org/wiki/Substitution_failure_is_not_an_error