On Wed, 29 Dec 2010 15:35:31 -0500 "Steven Schveighoffer" <[email protected]> wrote:
> Yes. Inside a template, the name of the template is synonymous with the
> template instance being instantiated.
>
> So for example:
>
> struct S(T)
> {
> void foo(){ S s; // this is of type S!T
> }
> }
Good to know ;-) I write specialised types everywhere in template, like
struct S(T) {
S!T aNewSBangT (S!T anotherSBangT) {...}
}
Denis
-- -- -- -- -- -- --
vit esse estrany ☣
spir.wikidot.com
