Re: inheriting the VC++ template classes into C#.net
..NET 2.0 introduced generics. Depending on your template
use, you may or may not be able to translate the code to
C++/CLI using generics. Generics are useable from C#.
Note this question should be addresed towards the C++/CLI
group:
microsoft.public.dotnet.languages.vc
Ah, of course as others already mentioned, C++ templates
are not visible in .NET since the framework does not
support such feature. Generics are the semantically closest
feature supported in .NET.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Amu" <amu4uall@gmail.com> wrote in message
news:1168954439.021003.249860@11g2000cwr.googlegroups.com...
Kim Gr?sman wrote:
Hi Amu,
Hi i am stuck up in a part of project where i have to inherit the VC++
template classes into C#.net. Please provide me the solution for this
Templates are a language feature of C++, it doesn't exist in C#.
Could you show what you are trying to do in a little more detail, and
maybe
we can come up with an alternate solution?
--
Best Regards,
Kim Gr?sman
can u give me some clear idea regarding
it.actually i have a dll ( template class) ready which is written in
VC++6. But presently i need to inherit its classes into my new C#./net
project.so if there is some better solution with u then please give me
the solution.
:Amu