C++11 use in Chromium
chromium-cpp.appspot.com
C++11 use in Chromium
1–10 of 35 posts
Re: C++11 use in Chromium
#2Re: C++11 use in Chromium
#3Re: C++11 use in Chromium
#4Re: C++11 use in Chromium
#5Move semantics banned until revision.
Re: C++11 use in Chromium
#6Visual Studio limiting progress as always..
http://blogs.msdn.com/b/vcblog/archive/2014/08/21/c-11-14-fe...
Last time I checked, outside most C++ compilers were still catching up with C++11.
There are more C++ compilers out there than just clang and gcc. Even those aren't 100% compliant at library level, if I am not mistaken.
Re: C++11 use in Chromium
#7Move semantics banned until revision.
I would be curious about the rationale behind this. Move semantics are a clear win in many situations, and I don't see any obvious pitfalls associated with them. I am curious especially about mere std::move; I'm aware that using rvalue references directly can be a bit confusing initially, and it makes sense to reduce their use.
Re: C++11 use in Chromium
#8Visual Studio limiting progress as always..
Visual Studio 2014 is already much better. http://blogs.msdn.com/b/vcblog/archive/2014/08/21/c-11-14-fe... Last time I checked, outside most C++ compilers were still catching up with C++11. There are more C++ compilers out there than just clang and gcc. Even those aren't 100% compliant at library level, if I am not mistaken.
Re: C++11 use in Chromium
#9Earlier quoted context omitted.
I would be curious about the rationale behind this. Move semantics are a clear win in many situations, and I don't see any obvious pitfalls associated with them. I am curious especially about mere std::move; I'm aware that using rvalue references directly can be a bit confusing initially, and it makes sense to reduce their use.
std::move is a library function, and some Chrome targets don't have C++11-conformant libraries yet.
return static_cast(value);
Library support for std::move is not the reason it's disallowed. (If it is, that's just silly and someone should create a discussion thread).Re: C++11 use in Chromium
#10Earlier quoted context omitted.
std::move is a library function, and some Chrome targets don't have C++11-conformant libraries yet.
move is just return static_cast (value); Library support for std::move is not the reason it's disallowed. (If it is, that's just silly and someone should create a discussion thread).