by "Andrew Browne" <clcppm-poster@[EMAIL PROTECTED]
>
Feb 22, 2006 at 04:21 PM
Dilip wrote:
>
> This post was around 10/2004 -- I have no idea if C++/CLI that was
> released along with .NET 2.0 around 11/2005 allows you to
> instantiate a
> native C++ type with gcnew.
As the rationale says, this is not currently implemented in C++/CLI,
but may be in the future. The same thing applies to allocating a CLI
object on the native heap with new.
It has been suggested that the latter facility would allow a C++
program to use CLI types without even requiring the "sprinkling of
gcnew and ^" that is the minimum extended syntax currently required.
I'm not sure, however, whether this suggestion takes account of the
fact that the member functions of a CLI type typically have handle
arguments and handle return types.
Andrew
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]