[Bug c++/52018] GCC refuses to accept a disambiguation statement

2012-01-31 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52018 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/52018] GCC refuses to accept a disambiguation statement

2012-01-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52018 --- Comment #2 from Daniel Krügler 2012-01-31 07:33:25 UTC --- (In reply to comment #1) > A simple workaround is to introduce a local typename-specifier: > > typedef class string c_t; > h(c_t(42)); or use a static_cast (which has the additional

[Bug c++/52018] GCC refuses to accept a disambiguation statement

2012-01-30 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52018 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler at |