Submitter-Id: net-debian
Originator:Seth M LaForge
Organization:
Confidential: no
Synopsis: The 'using typename' construct won't compile
Severity: serious
Priority: medium
Category: c++
Class: rejects-legal
Release: 3.0 20010526 (Debian prerelease)
[EMAIL PROTECTED] writes:
| C++ allows the word 'typename' after a 'using' directive. _The C++
Programming Language_ (third edition) [Stroustrup], section A.7
(Grammar/Declarations) defines the using directive:
| using-declaration:
| using typename(opt) ::(opt)
[EMAIL PROTECTED] writes:
| C++ allows the word 'typename' after a 'using' directive. _The C++ Pro
gramming Language_ (third edition) [Stroustrup], section A.7 (Grammar/Declara
tions) defines the using directive:
| using-declaration:
| using typename(opt) ::(opt)
[EMAIL PROTECTED] writes:
| [EMAIL PROTECTED] writes:
|
| | C++ allows the word 'typename' after a 'using' directive. _The C++ Pro
| gramming Language_ (third edition) [Stroustrup], section A.7
(Grammar/Declara
| tions) defines the using directive:
| | using-declaration:
| |
| OK, fine. The question remains: is this a legal construct, or not?
The constructs you sent were all ill-formed. See 14.6/5 of the C++
definition text.
Or see C.13.5 in The C++ Programming Language 3rd Ed. (pp. 856-858)
j.
--
Put your leader at the back. This means there is less
5 matches
Mail list logo