GNU gcc 4.3部分支持即将推出的c ++ 0x标准:在rvalue引用的已实现功能中。 通过右值引用,应该可以移动不可复制的对象或从函数返回它。
std :: streams是否已经通过右值引用移动或者当前库实现缺少什么?
GNU gcc 4.3 partially supports the upcoming c++0x standard: among the implemented features the rvalue reference. By means of the rvalue reference it should be possible to move a non-copyable object or return it from a function.
Are std::streams already movable by means of rvalue reference or does the current library implementation lack something?
最满意答案
在当前的g ++ svn中,尚未将rvalue引用支持添加到流中。 我怀疑添加它并不会太困难,而且与开源软件一样,补丁是,我敢肯定,欢迎!
In the current g++ svn, rvalue reference support has not yet been added to streams. I suspect adding it will not be too difficult and as ever with open source software, patches are, I'm sure, welcome!
std :: streams已经可以移动吗?(Are std::streams already movable?)GNU gcc 4.3部分支持即将推出的c ++ 0x标准:在rvalue引用的已实现功能中。 通过右值引用,应该可以移动不可复制的对象或从函数返回它。
std :: streams是否已经通过右值引用移动或者当前库实现缺少什么?
GNU gcc 4.3 partially supports the upcoming c++0x standard: among the implemented features the rvalue reference. By means of the rvalue reference it should be possible to move a non-copyable object or return it from a function.
Are std::streams already movable by means of rvalue reference or does the current library implementation lack something?
最满意答案
在当前的g ++ svn中,尚未将rvalue引用支持添加到流中。 我怀疑添加它并不会太困难,而且与开源软件一样,补丁是,我敢肯定,欢迎!
In the current g++ svn, rvalue reference support has not yet been added to streams. I suspect adding it will not be too difficult and as ever with open source software, patches are, I'm sure, welcome!
发布评论