--- Comment #3 from scott at stg dot net 2008-08-07 13:53 ---
For clarification, this code compiles & runs in gcc & msvc:
FooBar test1("one");
"A">>test1;
And this code compiles & runs fine in msvc, but gives compile error in gcc:
--- Comment #2 from scott at stg dot net 2008-08-07 13:31 ---
Okay, so if I change:
FooBar& operator>> (const char *s,FooBar& dest)
to
FooBar operator>> (const char *s,FooBar dest)
It now compiles on both msvc and g++, but required functionality (operation
affec
1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scott at stg dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37043