C++11 - one line interesting example of C++11 syntax
1 constexpr explicit optional<T>::operator bool() const noexcept;
1 constexpr explicit optional<T>::operator bool() const noexcept;
http://blogs.msdn.com/b/csharpfaq/archive/2010/06/01/parallel-programming-in-net-framework-4-getting-started.aspx
1 2 3 4 template<typename T, typename S> auto multiply(T lhs, S rhs) -> decltype(lhs * rhs) { return lhs * rhs; }
C++11 introduced the defaulted function as the following example. 1 2 3 4 5 6 7 class help { public: help() = default; private: std::string m_text; }...
1 2 3 4 git svn clone http://svn.example.com/project/trunk git commit git svn rebase git svn dcommit