Re: templates and managed code
- From: "Arnaud Debaene" <adebaene@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 08:28:37 +0200
Nishant Sivakumar wrote:
>> Beware that managed generics are *NOT* templates, although the
>> (unfortunately IMHO) share most of their syntax. Mainly, generics do
>> not support specialization (partial or total), nor dependent types
>> definition/inference. On the other side, generics use a mechanism to
>> restrict what instanciations are authorized for a given "template".
>
> I wasn't talking about generics - I was talking about managed
> templates which support specialization, derivation from the template
> parameter type etc.
I know, but I was not sure that Peter Oliphant was aware of the difference.
Arnaud
MVP - VC
.
- Follow-Ups:
- Re: templates and managed code
- From: Peter Oliphant
- Re: templates and managed code
- References:
- templates and managed code
- From: Peter Oliphant
- Re: templates and managed code
- From: Ronald Laeremans [MSFT]
- Re: templates and managed code
- From: Peter Oliphant
- Re: templates and managed code
- From: Nishant Sivakumar
- Re: templates and managed code
- From: adebaene
- templates and managed code
- Prev by Date: Update on C++/CLI
- Next by Date: 12 octobers patches _vscwprintf( pszFormat, args ); difference!
- Previous by thread: Re: templates and managed code
- Next by thread: Re: templates and managed code
- Index(es):
Relevant Pages
|