|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-15 14:42:57
JoaquÃn Mª López Muñoz <joaquin <at> tid.es> writes:
> Looks like the compiler is having a hard time with ADLing the appropriate
> overload of operator== in this particular dependent context. By changing the
> offending line like this, however,
>
> if( const_string( framework::get( id, test_id_2_unit_type(
id ) ).p_name ) == tu_name )
>
> everything works fine (checked in MSVC++ 6.0 and GCC 3.2). As this is a
> rather innocent change and definitely helps poor old MSVC++ 6.0, is it OK to
> commit the attached patch?
Better use
if( framework::get( id, test_id_2_unit_type( id ) ).p_name.get() == tu_name )
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk