[Bug c++/17057] problems disambiguating std::allocator::rebind
bkoz at redhat dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 17 16:40:00 GMT 2004
------- Additional Comments From bkoz at redhat dot com 2004-08-17 16:40 -------
Subject: Re: problems disambiguating std::allocator::rebind
>The last version is definitely valid.
Thanks! This is what I had assumed. That's what I am using now.
>I do not believe the case in "#if 1" is valid.
Ok. Be forwarned that most references on the web, as well as C++
textbooks, assume this approach will work. At leat there is a bugzilla
thread now, so google searches will find this.
>There are DRs in the works that might make it valid, though; there has
>been some suggestion that in "type contexts" (like the first operand to
>"typedef") "typename" should be assumed.
Here's hoping! I think the unambiguously correct syntax completely blows!
thanks again,
benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17057
More information about the Gcc-bugs
mailing list