A
Andrew Roberts
Any more info on this? Anyone know when it will be released?
Andrew Roberts said:Any more info on this? Anyone know when it will be released?
Andrew Roberts said:Any more info on this? Anyone know when it will be released?
Andrew said:Any more info on this? Anyone know when it will be released?
Carl said:

Willy Denoyette said:|
| | > Any more info on this? Anyone know when it will be released?
| >
|
|
| Looks to me like it's dead in the water. No hint of a release date. The
| dreadful version accidently included in beta 2 pointed to some serious
| issues. Tis a pity because C++ is next to useless without it's standard
| library.
|
|
This has nothing to do with STL and C++, it's about STL/CLR and C++/CLI.
Willy.
| Sorry Willy I'll rephase. Tis a pity because because C++/CLI is next to
| useless without the ability to use managed types with the standard
library.
|
| -Liam
|
|
Why? they are just wrappers around the managed containers available in the
framework. IMO they offer little added value.
Willy.
Willy said:Why? they are just wrappers around the managed containers available
in the framework. IMO they offer little added value.
That's right, they are not (yet) in the BCL, just like STL/CLR is not yet
part of .NET either, but that doesn't mean there are no implementations
available. Take a look at :
http://www.wintellect.com/powercollections
or (better) http://www.itu.dk/research/c5/
my guess is that we will see some of this added to the BCL in the Orcas
time
frame.
Willy.
And how many (of the vast majority) will never embrace C++/CLI? Do you
think
they will do when STL/CLR becomes available?
| 2. Managed types are basically incompatible with the standard library.
| (alright there's the gcroot gludge, and workarounds, but that's what
they
| are cludge and workarounds)
|
Not sure what you mean here, why do you compare "managed types (or CLI
types
to be exact) to a library like the STL?
Andrew said:Last but not least this is a very very hard problem to solve, largely due to
type identity issues, and consequently the STL/CLR was almost dropped.
Andrew said:Regarding the type identity problem it is something like the following.
Assembly A you have a class with a method
template <typename T>
public ref class SomeTemplate
{
public:
void DoSomething() { }
};
public ref class GiveMeSomething
{
public:
SomeTemplate<System::String> ^GetSomething(); // I've chosen
System::String for no particular reason
};
Now in assembly B you do the following to call it
GiveMeSomething ^giveme = gcnew GiveMeSomething();
SomeTemplate<System::String> ^something = giveme->GetSomething();
something->DoSomething();
BUT this won't compile because SomeTemplate<System::String> is compiled into
each assembly and therefore are different types. They are generated at
compile time, not at runtime like generics.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.