Originally posted by Zan Lynx
View Post
Announcement
Collapse
No announcement yet.
Mir Now Depends Upon C++14
Collapse
X
-
Originally posted by rikkinho View Post
Leave a comment:
-
hm
Originally posted by rohcQaH View PostIt absolutely is. My current work project builds with -std=c++11, because the default compilers of the current ubuntu LTS releases don't support c++14 yet, but we use make_unique. (That's right, on a current ubuntu LTS, you cannot build Mir any more )
The post you mentioned is here: http://herbsutter.com/gotw/_102/
The source is as simple as
Code:template<typename T, typename ...Args> std::unique_ptr<T> make_unique( Args&& ...args ) { return std::unique_ptr<T>( new T( std::forward<Args>(args)... ) ); }
Leave a comment:
-
Originally posted by fabdiznec View PostWow. make_unique is trivial to put into your codebase without requiring C++14, see Herb Sutter's blog.
Last I checked, Mir wasn't targetting any Microsoft platforms.
Leave a comment:
-
It absolutely is. My current work project builds with -std=c++11, because the default compilers of the current ubuntu LTS releases don't support c++14 yet, but we use make_unique. (That's right, on a current ubuntu LTS, you cannot build Mir any more )
The post you mentioned is here: http://herbsutter.com/gotw/_102/
The source is as simple as
Code:template<typename T, typename ...Args> std::unique_ptr<T> make_unique( Args&& ...args ) { return std::unique_ptr<T>( new T( std::forward<Args>(args)... ) ); }
Leave a comment:
-
Wow. make_unique is trivial to put into your codebase without requiring C++14, see Herb Sutter's blog.
Leave a comment:
-
Mir Now Depends Upon C++14
Phoronix: Mir Now Depends Upon C++14
While many open-source projects are still transitioning over to a C++11 code-base, Ubuntu's Mir display server is already moving onto C++14...
Tags: None
Leave a comment: