This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17057] problems disambiguating std::allocator::rebind
- From: "bkoz at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2004 16:40:09 -0000
- Subject: [Bug c++/17057] problems disambiguating std::allocator::rebind
- References: <20040817040042.17057.bkoz@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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