|
Boost : |
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2006-01-31 09:44:51
Aleksey Gurtovoy wrote:
> MB writes:
>
>> David Abrahams wrote:
>>
>>> MB <mb2act_at_[hidden]> writes:
>>>
>>>> Even 'const_begin' that calls unqualified 'begin' breaks down
Boost.MPL!!
>>>
>>>
>>>
>>> How so? What happens? Got a small reproducible case?
>>
>>
>> See:
>> http://lists.boost.org/boost-users/2006/01/16513.php
>>
>> void trouble()
>> {
>> typedef dummy< ::boost::mpl::vector< int > > vt ;
>> typedef ::std::vector< const vt* > ct ;
>>
>> boost::const_begin( ct() ) ;
>> }
Just to clarify, this was a bug in the current version of boost.range.
In the new version , no call to begin(), end(), size(), and empty()
is unqualified.
-Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk