
15 Oct
2007
15 Oct
'07
6:42 p.m.
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