Expand Cut Tags

No cut tags
ggreig: (Caricature)
[personal profile] ggreig
Last week I found what appears to be a bug in the implementation of C++/CLI in Visual Studio 2005, and this week Mark Hall has responded to my bug report, saying it will be considered for a future release.

I have mixed feelings about the bug: I'm partly quite pleased that I seem to have found something that no-one else had come across yet, but also partly disappointed for the same reason. Although I don't suppose there are a lot of people desperate to have a managed class inherit from its own template template parameter, it's not quite as rare as all that since template metaprogramming in C++ has become more popular.

If I'm the first to come across it, after a long period in public beta, it does make me wonder slightly whether C++/CLI is being pushed in its capabilities by anyone, because I don't usually regard myself as a pioneer. I first came across it when exploring the possibility of porting some of Loki to C++/CLI (something I would have thought other people would already have tried, if only from curiosity), but only narrowed it down to the actual issue when I tried to use the same idiom in my own code.

I have worked around it in the situation where it arose, although it has resulted in less tidy code and some unnecessary duplication of template parameters, and I guess I know what to avoid in future.

Date: 2006-03-06 12:43 pm (UTC)
From: [identity profile] scottymcleod.livejournal.com
I would guess from the non pro programmer perspective that C++ targeted at the CLI is uncommon. Almost all mention you see of MS themselves using a .NET language for the likes of WinFX, Expression series, SONAR etc. seem to be in C# and very occassional VB.NET.

While I can see many companies wishing to take advantage of C++ to C++ CLI I think the chances are they will take a different route when they see what will not work in terms of multiple inheritance and the like and decide to design from the ground up in C# especially as many taking those decision will be looking to enhance CV's.

June 2017

S M T W T F S
    123
45 678910
11121314151617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Page generated Jun. 5th, 2026 01:57 am
Powered by Dreamwidth Studios