>> The interesting part that it fails to compile even when there is no
>> instantiation of the template.
>>
>>  
>>
>> In random library this assertion is within #ifndef
>> BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS #endif directives.

>That makes no sense.  That macro is defined for msvc6 IIRC.

No it is not.

Defining this macro prior to including any boost headers solves the problem,
config/compiler/visualc.hpp does not have such define. Also as I said before
I was trying few tricks from detail/numeric_traits.hpp, and one of the
reasons why I suggested to put this define is that I've seen similar one in
there. For instance line 84 of detail/numeric_traits.hpp reads:

#if defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) || defined(BOOST_MSVC)
&& BOOST_MSVC <= 1300

-Kirill
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to