Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / January 2005

Tip: Looking for answers? Try searching our database.

std::string in "STL .NET"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ioannis Vranos - 31 Dec 2004 12:35 GMT
Will "STL .NET" of VS 2005 include a fully managed std::string?

Signature

Ioannis Vranos

Ronald Laeremans [MSFT] - 31 Dec 2004 13:16 GMT
Hi Ionannis,

No, it will not. Nor will it contain a .NET implementation of iostreams. The
iterators should work on System::String so you can use the standard
algorithms on that.

Can you illustrate what kind of functionality from std::string you are
missing and would like to see replicated?

Thanks.

Ronald Laeremans
Visual C++ team

> Will "STL .NET" of VS 2005 include a fully managed std::string?
Ioannis Vranos - 31 Dec 2004 13:29 GMT
> Hi Ionannis,
>
[quoted text clipped - 4 lines]
> Can you illustrate what kind of functionality from std::string you are
> missing and would like to see replicated?

Since it was named "STL .NET" and std::string belongs to STL (while
iostreams do not), I just wondered if we would see a /clr:safe
implementation of basic_string essentially.

It wouldn't be that hard, and anyway I just wondered. :-)

Signature

Ioannis Vranos

Tom Widmer - 04 Jan 2005 18:18 GMT
>> Hi Ionannis,
>>
[quoted text clipped - 8 lines]
> iostreams do not), I just wondered if we would see a /clr:safe
> implementation of basic_string essentially.

A basic_string template wasn't part of the original STL, historically
speaking. I think that it was based on a string class (as opposed to
template); I don't know who wrote this original string class.

Tom
Ioannis Vranos - 04 Jan 2005 20:58 GMT
> A basic_string template wasn't part of the original STL, historically
> speaking. I think that it was based on a string class (as opposed to
> template); I don't know who wrote this original string class.

Perhaps in the past, but in C++98 when we are referring to STL, we mean
the template subset of the standard library.

Making basic_string /clr:safe wouldn't be that difficult anyway.

Also I think a good idea would be to make the entire standard library
managed, sometime in the future (even cout).

And place everything where it belongs, in the std namespace.

I am talking about sometime in the future, not for VS 2005 of course.

Now we have STL .NET which is very useful, then cout, cin, wcout, wcin
etc could follow (perhaps some facilities could be implemented with
Console facilities, like operator << of cout by using Console::Write()
or something), and then the C subset ones.

That is, we could get a /clr:safe managed standard library gradually,
and not in just one release.

A completely managed C++ is what makes sense in a managed environment
(that is, CLR is the platform here).

Signature

Ioannis Vranos


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.