Managed C++

  • Thread starter Thread starter Bern
  • Start date Start date
Will managed c++ be compiled into MSIL or native machine language?

MC++ lets you mix managed and unmanaged code, so possibly both. The
managed parts will compile to IL.



Mattias
 
It depends.
Managed classes can only compile to MSIL, native classes and functions (non
member) can be compiled to MSIL or native code.

Willy.
Ps. You might get better answers when posting to the C++ NG
microsoft.public.dotnet.languages.vc
 
C++

You can embed unsafe C++ directly into the C# code ,
which will be unmanaged , which will be directly
compiled , but unsafe , but that 's what you want

Look for info about the keyword 'unsafe'
 
This completely wrong.
The C# compiler cannot compile to unmanaged (native) code.
Using unsafe is only an indication to the compiler that you are
(voluntarily) using unsafe constructs, but the resulted assembly will be
MSIL only.

Willy.
 
Back
Top