Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2006-01-28 04:35:23


"Gennadiy Rozental" wrote
>> Test at 13 Jan 2006 MS moans in basic_cstring.hpp at
>>
>> value_type operator[]( size_type index ) const;
>> value_type at( size_type index ) const;
>>
>> "C4180 qualifier applied to function type has no meaning; ignored"
>
> I know about this. And it doen't make any sence to me. Looks like clear
> compiler bug.

FWIW I fixed this locally by changing the signature to :

  typename boost::remove_const<
        value_type
>::type operator[]( size_t index ) const;
    typename boost::remove_const<
        value_type
>::type at( size_t index ) const;

regards
Andy Little


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk