<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How much C++/CLI syntax do you need to use all of the .NET Frameworks?</title><link>http://blogs.msdn.com/b/hsutter/archive/2003/12/15/53526.aspx</link><description>The short answer to the question in the title is: In Whidbey, ^ and gcnew are
 mostly all you're likely to use, if all you're doing with .NET is consuming (using)
 .NET&amp;#160;Frameworks types and services. Post-Whidbey, you could even dispense with
 those</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>RE: How much C++/CLI syntax do you need to use all of the .NET Frameworks?</title><link>http://blogs.msdn.com/b/hsutter/archive/2003/12/15/53526.aspx#53528</link><pubDate>Fri, 19 Dec 2003 03:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:53528</guid><dc:creator>Nemanja Trifunovic</dc:creator><description>&amp;quot;Group (ii) is going to go whole hog using .NET and authoring new types, and is well served by more elegant/sugary syntax. 
Group (i) is simply going to be consuming the CLI types, probably not author them, and will probably only ever need ^ and gcnew. &amp;quot;

I believe you meant the other way around. I use Managed C++ for (i), and all I do is author new __gc types.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=53528" width="1" height="1"&gt;</description></item><item><title>RE: How much C++/CLI syntax do you need to use all of the .NET Frameworks?</title><link>http://blogs.msdn.com/b/hsutter/archive/2003/12/15/53526.aspx#53527</link><pubDate>Tue, 16 Dec 2003 13:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:53527</guid><dc:creator>AlisdairM</dc:creator><description>&amp;quot;What's more, in the post-Whidbey timeframe when we complete the support for allocating any object (including CLI objects) on the native heap using new, people could actually consume CLI / .NET Frameworks types seamlessly in their application without any new syntax.&amp;quot;

I'm not sure how relevant this is for the average code-writer, as if you depend on a CLI class, the interface you depend on introduces the CLI syntax, so you are already in a non-ISO world.  I guess you can forward declare classes that later turn out to be CLI-based in the implementation, so CLI does not leak through a public interface unless those features are used.

However, there is a significant benefit for generic code, as all those templates that manipulate pointers will just work with CLI types as well.  That will be a big gain.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=53527" width="1" height="1"&gt;</description></item></channel></rss>