Topic: Known defect?


Author: "Gabor Greif" <gabor@no.netopia.com>
Date: 2000/06/17
Raw View
I have observed a syntactically faulty example of template template
arguments on page 288 of the standard. Is this a known defect?


18 The template-argument corresponding to a template
template-parameter is deduced from the type of the
template-argument of a class template specialization used in the
argument list of a function call. [Example:
template <template X<class T> > struct A { };
template <template X<class T> > void f(A<X>) { }
template<class T> struct B { };
A<B> ab;
f(ab); //calls f(A<B>)
=D1end example]


Should be

18 The template-argument corresponding to a template
template-parameter is deduced from the type of the
template-argument of a class template specialization used in the
argument list of a function call. [Example:
template <template <class T> class X> struct A { };
template <template <class T> class X> void f(A<X>) { }
template<class T> struct B { };
A<B> ab;
f(ab); //calls f(A<B>)
=D1end example]


If not I will file a report. Where can I find the currently open defects?

 Gabor


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]






Author: wmm@fastdial.net
Date: 2000/06/17
Raw View
In article <B56FD0E2-7A69@192.109.102.124>,
  "Gabor Greif" <gabor@no.netopia.com> wrote:
> I have observed a syntactically faulty example of template template
> arguments on page 288 of the standard. Is this a known defect?

Yes.  It's issue 181 in the core language issue list.

> If not I will file a report. Where can I find the currently open
defects?

You can find links to the current versions of the core
language and library issues lists at

        http://www.dkuug.dk/jtc1/sc22/wg21

--
William M. Miller, wmm@fastdial.net
OnDisplay, Inc. (www.ondisplay.com)


Sent via Deja.com http://www.deja.com/
Before you buy.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]






Author: comeau@panix.com (Greg Comeau)
Date: 2000/06/17
Raw View
In article <8ido3r$qg$1@nnrp1.deja.com>,  <wmm@fastdial.net> wrote:
>In article <B56FD0E2-7A69@192.109.102.124>,
>  "Gabor Greif" <gabor@no.netopia.com> wrote:
>> Where can I find the currently open defects?
>
>You can find links to the current versions of the core
>language and library issues lists at
>
>        http://www.dkuug.dk/jtc1/sc22/wg21

We've got them up here too for folks who find this easier to remember:

        http://www.comeaucomputing.com/iso

- Greg
--
Comeau Computing, Producers of Comeau C/C++ 4.2.42 (4.2.43 BETA starting)
Try Comeau C++ online at http://www.comeaucomputing.com/tryitout
Email: comeau@comeaucomputing.com / WEB: http://www.comeaucomputing.com

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]