[C++-sig] str operator

David Abrahams dave at boost-consulting.com
Mon Jun 27 22:07:08 CEST 2005


Ult Mundane <ult at mundane.org> writes:

> Hi there,
>
> I'm having trouble getting the str operator to compile. Any help would be 
> greatly appreciated! I'm building on linux with gcc.

Which version?

Try replacing uses of "str" with "self_ns::str."  It's possible your
GCC is having trouble with argument-dependent lookup.

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




More information about the Cplusplus-sig mailing list