[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    Re: problem with explicit template function specification
From:       "Martin v. Loewis" <martin () loewis ! home ! cs ! tu-berlin ! de>
Date:       2000-04-29 22:31:30
[Download RAW message or body]

> Oops, I've never seen this syntax before.  I scanned the
> standard document, but found it nowhere.
> Could you please give me some hint where to look?

It's in 5.2, [expr.post]/1

# postfix­expression:
#                    ...
#                    postfix­expression . template-opt id­expression

Usually, you leave the optional template out. As Alexandre points out,
you only need to have it if the postfix-expression depends on the
template parameter (and the id-expression is meant as a template-id),
which was not the case in your example. So it still is a bug that gcc
requires it.

Regards,
Martin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic