Visual C ++ .NET 2005是否具有STL? [英] Does Visual C++ .NET 2005 have STL?

查看:47
本文介绍了Visual C ++ .NET 2005是否具有STL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio .NET中是否有.NET版本的标准Temple库

2005?

2005更新的std :: vector的等价物是什么C#?

解决方案



" Peter Olcott" <醇**** @ att.net>在消息中写道

news:YGSyf.43935


QW2.17489@dukeread08 ...

是否有.NET版本的Visual Studio中的标准Temple库
.NET 2005?
在C#中使用2005更新的std :: vector相当于什么?



我相信这句话解决你的问题:


< quote>

Beta 2不支持STL / CLR(STL .NET)我们计划

在VS 2005最终版本时发布STL / CLR测试版,

以及2006年通过网络发布的STL / CLR最终版本。

Anson Tsao

首席项目经理

Microsoft Visual C ++


< / quote>


在回答你的问题时,在C#中你可以使用运行时泛型作为

而不是编译时间模板:

http://msdn2.microsoft.com/en-us/library/0x6a29h6.aspx


List< int> myInts = new List< int>();


问候,

Jeff


***发送来自开发人员指南 http://www.developersdex.com ***

Is there a .NET version of the standard Temple Library in Visual Studio .NET
2005?
What is the 2005 updated equivalent of a std::vector in C# ?

解决方案


"Peter Olcott" <ol****@att.net> wrote in message
news:YGSyf.43935


QW2.17489@dukeread08...

Is there a .NET version of the standard Temple Library in Visual Studio
.NET 2005?
What is the 2005 updated equivalent of a std::vector in C# ?


I believe this quote addresses your question:

<quote>
STL/CLR (STL .NET) is not supported in Beta 2. We are planning to
release the beta version of STL/CLR at the time of VS 2005 final release,
and the final release of STL/CLR via the web in 2006.
Anson Tsao
Lead Program Manager
Microsoft Visual C++

</quote>



In answer to your question, in C# you can use runtime generics as
opposed to compile time templates:

http://msdn2.microsoft.com/en-us/library/0x6a29h6.aspx

List<int> myInts= new List<int>();

Regards,
Jeff

*** Sent via Developersdex http://www.developersdex.com ***


这篇关于Visual C ++ .NET 2005是否具有STL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆