Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #14638
| From | Christian Gollwitzer <auriocus@gmx.de> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Finding out whether a class instantiates a template |
| Date | 2012-03-01 07:58 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <jin6mk$4fh$1@dont-email.me> (permalink) |
| References | <DbmdnZ4BnOh2WtPSnZ2dnUVZ_gmdnZ2d@giganews.com> |
Am 01.03.12 01:50, schrieb Ed Anson: > Hi, > > I'm working on a collection of template classes where some of the > template parameters are required to be classes that are instantiations > of specific templates. Is it not possible to do something like template <typename T> void function(std::vector<T> arg) if you want to enforce that "arg" is an instantiantion of the vector template? Christian
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Finding out whether a class instantiates a template Ed Anson <EdAnson@comcast.net> - 2012-02-29 19:50 -0500
Re: Finding out whether a class instantiates a template Christian Gollwitzer <auriocus@gmx.de> - 2012-03-01 07:58 +0100
Re: Finding out whether a class instantiates a template Ed Anson <EdAnson@comcast.net> - 2012-03-01 19:10 -0500
Re: Finding out whether a class instantiates a template cartec69@gmail.com - 2012-03-22 07:49 -0700
Re: Finding out whether a class instantiates a template Ed Anson <EdAnson@comcast.net> - 2012-03-22 22:30 -0400
Re: Finding out whether a class instantiates a template Ed Anson <EdAnson@comcast.net> - 2012-03-23 18:31 -0400
Re: Finding out whether a class instantiates a template Marc <marc.glisse@gmail.com> - 2012-03-24 23:08 +0000
csiph-web