> Are or will delegating constructors (constructors that can call
> sibling constructors) be available for ref classes or only for native
[quoted text clipped - 6 lines]
> (I also can't seem to get it to work for a ref class, if it is
> supported.)
Forwaring constructors aren't supported by the C++ language at all. There's
currently a proposal to the C++ committee to add that ability in the next
rev of the C++ standard, but that's still 4+ years away.
That said, I haven't looked at what the C++/CLI spec says in this regard.
If they are supported, I'd expect it would be for ref types only, since
they're definitely NOT supported for native types.
-cd
Carl Daniel [VC++ MVP] - 12 Sep 2004 01:42 GMT
> Forwarding constructors aren't supported by the C++ language at all.
> There's currently a proposal to the C++ committee to add that ability
[quoted text clipped - 3 lines]
> regard. If they are supported, I'd expect it would be for ref types
> only, since they're definitely NOT supported for native types.
Indeed, the C++/CLI spec only mentions this feature in the "Future
Directions" section, so I'd say that for Whidbey the answer is clearly "not
supported for any types".
-cd
Brandon Bray [MSFT] - 15 Sep 2004 02:03 GMT
> Indeed, the C++/CLI spec only mentions this feature in the "Future
> Directions" section, so I'd say that for Whidbey the answer is clearly
> "not supported for any types".
That's right. After the C++ standards committee took to designing parts of
the feature, the Visual C++ team backed off of implementing this feature.
Anytime the standards committee starts working on a design, it's very risky
for us to implement it is a release product.

Signature
Brandon Bray, Visual C++ Compiler http://blogs.msdn.com/branbray/
Bugs? Suggestions? Feedback? http://msdn.microsoft.com/productfeedback/