[C++-sig] Re: args patch

David Abrahams dave at boost-consulting.com
Sat Aug 2 04:46:06 CEST 2003


Nikolay Mladenov <nickm at sitius.com> writes:

> The change that breaks it has happened between Feb 06 2003 and Feb 07
> 2003
> and as far as I can tell it comes from:
> mpl/aux_/has_xxx.hpp around line 79
> the definition of struct msvc_is_incomplete
> and than detail/iterator.hpp around line 83
> What do you think, can it be fixed?

Hmm, it looks like /vmg has to completely break that
msvc_is_incomplete template:

    template< typename T >
    struct msvc_is_incomplete
    {
        struct incomplete_;
        BOOST_STATIC_CONSTANT(bool, value = 
              sizeof(void (T::*)()) == sizeof(void (incomplete_::*)())
            );
    };

I think msvc_is_incomplete<T>::value would always be true.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list