什么是C ++的未来? [英] What's about the future of C++?

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

问题描述

C ++的未来是什么?什么是C ++ 0x?是否真的

将包括用于GUI,网络,

嵌入式系统的标准便携式库等等?

What is the future of C++?, and what is the C++0x? and is it really
going to include a standard portable libraries for GUI, networking,
embedded systems and so on?

推荐答案

2006年5月31日03:17:34 -0700,VirtualDev 3水溶液***** @ gmail.com>写道:
On 31 May 2006 03:17:34 -0700, "VirtualDev" <aq*****@gmail.com> wrote:
C ++的未来是什么?什么是C ++ 0x?它是否真的会包含用于GUI,网络,嵌入式系统等的标准可移植库?
What is the future of C++?, and what is the C++0x? and is it really
going to include a standard portable libraries for GUI, networking,
embedded systems and so on?




不要期待任何新标准。通常,新标准会使语言(任何语言)和环境变得更加复杂,并且对用户来说更难以实现
。更好地尝试理解

编程的核心概念,特别是尝试过的C ++习语。


祝福,

Roland Pibinger



Don''t expect anything from new standards. Often a new standard makes
the language (any language) and the environment more complicated and
less tangible for users. Better try to understand the core concepts of
programming in general and the tried C++ idioms in particular.

Best wishes,
Roland Pibinger


VirtualDev写道:
VirtualDev wrote:
C ++的未来是什么?什么是C ++ 0x?它真的会包含用于GUI,网络,嵌入式系统等的标准可移植库吗?


嗯,有一点你可以指望的是,boost C ++

库的某些部分将会进入。来自 http://www.boost.org/
我们的目标是建立现有做法。并提供参考实现,以便Boost
库适合最终的标准化。十个Boost库已经包含在C ++标准委员会的图书馆技术报告(TR1)中,作为迈向未来C ++标准的一步。为即将到来的TR2提出了更多Boost库。
What is the future of C++?, and what is the C++0x? and is it really
going to include a standard portable libraries for GUI, networking,
embedded systems and so on?
Well, one thing you can count for, is that some parts of boost C++
library are going to make it in.From http://www.boost.org/ We aim to establish "existing practice" and provide reference implementations so that Boost
libraries are suitable for eventual standardization. Ten Boost libraries are already included in the
C++ Standards Committee''s Library Technical Report ( TR1) as a step toward becoming part of
a future C++ Standard. More Boost libraries are proposed for the upcoming TR2.








VirtualDev写道:

VirtualDev wrote:
C ++的未来是什么?,什么是C ++ 0x?它是否真的会包含用于GUI,网络,嵌入式系统等的标准可移植库?
What is the future of C++?, and what is the C++0x? and is it really
going to include a standard portable libraries for GUI, networking,
embedded systems and so on?




这些库都没有。将允许一些句法更改,例如
,例如vector< vector< int>>在结束之间没有空格。>

字符。


当编译器可以将你的类型定义为auto时

推断出你想要的类型。所以


auto myIter = myMap.find(" hello");


而不是通过模板来定义迭代器。

(曾经尝试过用equal_range吗?)


不确定他们是否允许使用模板typedef - 他们可能,我知道Herb

Sutter想要他们。


图书馆新增内容包括来自

boost的shared_ptr和scoped_ptr。不确定他们的任何其他库。 (其他人可以填补我

in)。很高兴看到绑定在那里,虽然有些人会建议

一些语言更改来帮助它。


图书馆不在标准中不会阻止你使用它。

是一些开源库,这些库是常用的但不是标准的b $ b。而且他们并非都在提升。



None of these libraries. There will be some syntactic changes to allow,
for example vector<vector<int>> without a space between the closing .>
characters.

You will be allowed to define a type as auto when the compiler can
deduce what type you want. So

auto myIter = myMap.find( "hello" );

instead of having to churn through templates to define the iterator.
(Ever tried it with equal_range?)

Not sure if they will allow template typedefs - they might, I know Herb
Sutter wants them.

Library additions will go include the shared_ptr and scoped_ptr from
boost. Not sure about any of their other libraries. (Others can fill me
in). Would be nice to see bind in there, although some would propose
some language changes to aid that.

That a library is not in the standard does not stop you using it. There
are loads of open-source libraries that are in common use but not
standard. And they''re not all in boost.


这篇关于什么是C ++的未来?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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