Tags: #Polymorphism #cpp17 #variant
C++17 gives us std::variant<> which allows for a new form of runtime polymorphism.
https://adishavit.github.io/2016/polymorphism-polymorphism/
C++17 gives us std::variant<> which allows for a new form of runtime polymorphism.
https://adishavit.github.io/2016/polymorphism-polymorphism/
adishavit.github.io
Polymorphism Polymorphism
Insights and Visions
Tags: #cpp17 #newfeatures #guaranteed
"A smaller, more subtle improvement it brings is guaranteed copy elision. The keyword is guaranteed, as copy elision itself has always been part of the standard."
https://jonasdevlieghere.com/guaranteed-copy-elision/
"A smaller, more subtle improvement it brings is guaranteed copy elision. The keyword is guaranteed, as copy elision itself has always been part of the standard."
https://jonasdevlieghere.com/guaranteed-copy-elision/
Jonas Devlieghere
Guaranteed Copy Elision
The new C++17 standard brings many exciting new features. A smaller, more subtle
improvement it brings is guaranteed copy elision. The keyword is guaranteed, as
copy elision itself has always been part of the standard. Although it might not
be a change as…
improvement it brings is guaranteed copy elision. The keyword is guaranteed, as
copy elision itself has always been part of the standard. Although it might not
be a change as…
Tags: #cpp17 #tranformation #code #improve
"I've spent a bit of time today updating my own basic windowing library to use C++17 features. Some of the things have been simple transforms such as converting 'typedef' to 'using', others have been more OCD satisfying;"
http://www.gamedev.net/blog/42/entry-2262470-c-17-transformation/
"I've spent a bit of time today updating my own basic windowing library to use C++17 features. Some of the things have been simple transforms such as converting 'typedef' to 'using', others have been more OCD satisfying;"
http://www.gamedev.net/blog/42/entry-2262470-c-17-transformation/
www.gamedev.net
C++ 17 Transformation... - GameDev.net
Im basically really bad at working on my own projects, but with the recent release of Visual Studio 2017 RC and its improved C++17 support I figured...
Tags: #cpp17 #feature #lambdas
https://www.reddit.com/r/cpp/comments/5irdg1/a_nice_c17_feature_that_is_being_overlooked/
https://www.reddit.com/r/cpp/comments/5irdg1/a_nice_c17_feature_that_is_being_overlooked/
reddit
A nice C++17 feature that is being overlooked: familiar... • /r/cpp
I love lambdas! <3 Missing from many C++17 feature lists is a small (but awesome!) change to lambdas called [familiar template syntax for generic...
Tags: #cpp17 #best
http://www.levelofindirection.com/journal/2016/12/28/c17-why-its-better-than-you-might-think.html
http://www.levelofindirection.com/journal/2016/12/28/c17-why-its-better-than-you-might-think.html
Levelofindirection
C++17 - Why it's better than you might think : Level of Indirection
From Mark Isaacson's Meeting C++ talk, 'Exploring C++ and beyond' I was recently interviewed for CppCast and one the news items that came up was a trip report from a recent C++ standards meeting (Issaquah, Nov 2016).
Tags: #string #view #cpp17
"Technically, basic_string_view is an object that can refer to a constant contiguous sequence of char-like objects with the first element of the sequence at position zero."
https://marcoarena.wordpress.com/2017/01/03/string_view-odi-et-amo/
"Technically, basic_string_view is an object that can refer to a constant contiguous sequence of char-like objects with the first element of the sequence at position zero."
https://marcoarena.wordpress.com/2017/01/03/string_view-odi-et-amo/
Growing up
string_view odi et amo
string_view-like wrappers have been successfully used in C++ codebases for years, made possible by libraries like boost::string_ref. I think all of you know that string_view has joined the C++ stan…
Tags: #cpp17 #attributes #howuse
"With C++17 three additional attributes were added to the standard which enable additional compiler warnings when used in general code..."
https://infektor.net/posts/2017-01-19-using-cpp17-attributes-today.html
"With C++17 three additional attributes were added to the standard which enable additional compiler warnings when used in general code..."
https://infektor.net/posts/2017-01-19-using-cpp17-attributes-today.html
infektor.net
Using C++17 Attributes Today
How to use C++17 standard attributes in production today.
Tags: #cpp #cpp17 #news
Finally C++17 is close to publication. What new features will this new standard introduce?
http://www.bfilipek.com/2017/05/cpp17-details-fixes-deprecation.html
Finally C++17 is close to publication. What new features will this new standard introduce?
http://www.bfilipek.com/2017/05/cpp17-details-fixes-deprecation.html
Bfilipek
C++17 in details: fixes and deprecation
C++17 language fixes and deprecation. What was removed from the language? What's now working better?
#cpp #cpp17 #FoldEspression
C++17 introduced fold expression, a new way to unpack variadic parameters with operators. For now, only Clang 3.6 supports C++17 fold expression. Let's take a deeper look
http://cpptruths.blogspot.it/2017/01/folding-monadic-functions.html
C++17 introduced fold expression, a new way to unpack variadic parameters with operators. For now, only Clang 3.6 supports C++17 fold expression. Let's take a deeper look
http://cpptruths.blogspot.it/2017/01/folding-monadic-functions.html
cpptruths.blogspot.co.uk
Folding Monadic Functions
In the previous two blog posts ( Understanding Fold Expressions and Folding Functions ) we looked at the basic usage of C++17 fold express...
#cpp #cpp17 #tuple
What are use cases for structured bindings?
https://stackoverflow.com/questions/45480824/what-are-use-cases-for-structured-bindings
What are use cases for structured bindings?
https://stackoverflow.com/questions/45480824/what-are-use-cases-for-structured-bindings
Stack Overflow
What are use cases for structured bindings?
C++17 standard introduces a new structured bindings feature, which was initially proposed in 2015 and whose syntactic appearance was widely discussed later.
Some uses for them come to mind as soon...
Some uses for them come to mind as soon...
#cpp17
C++17 in details: Code Simplification
http://www.bfilipek.com/2017/07/cpp17-details-simplifications.html?utm_content=buffera43ba&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer&m=1
C++17 in details: Code Simplification
http://www.bfilipek.com/2017/07/cpp17-details-simplifications.html?utm_content=buffera43ba&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer&m=1
Bfilipek
C++17 in details: Code Simplification
What C++17 language features do make code cleaner, more expressive and easy to read? Let's have a look at constexpr if, inline variable, structured bindings and more.
#cpp17
C++17 in details: Filesystem
http://www.bfilipek.com/2017/08/cpp17-details-filesystem.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+CodeAndGraphics+(Code+And+Graphics)&m=1
C++17 in details: Filesystem
http://www.bfilipek.com/2017/08/cpp17-details-filesystem.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+CodeAndGraphics+(Code+And+Graphics)&m=1
C++ Stories
C++17 in details: Filesystem
Although C++ is an old programming language, its Standard Library misses a few basic things. Features that Java or .NET had for years were/are not available in STL. With C++17 there’s a nice improvement: for example, we now have the standard filesystem!
Traversing…
Traversing…
Simplifying Compile-Time Options With if constexpr
#cpp17
https://philippegroarke.com/blog/2017/11/20/simplifying-compile-time-options-with-if-constexpr/
#cpp17
https://philippegroarke.com/blog/2017/11/20/simplifying-compile-time-options-with-if-constexpr/
Philippegroarke
Simplifying Compile-Time Options With if constexpr • memdump
C++ if constexpr tutorial.