|
You are here |
brevzin.github.io | ||
| | | | |
www.foonathan.net
|
|
| | | | | Just like regular function parameters, template parameters can also have default parameters. For class templates, this behaves mostly just like default function arguments: if you pass fewer template arguments than required, default template arguments are used to fill the remaining places. However, for function templates, it gets more complicated as template parameters for functions can be deduced by the normal function arguments. This leads to some interesting side-effects. In particular, default argumen... | |
| | | | |
danlark.org
|
|
| | | | | Today we are going to talk about C++ basic std::pair class in a way how and why it is broken. Story std::pair first appeared in C++98 as a pretty basic class with a very simple semantics -- you have two types T1 and T2, you can write std::pair and access .first and .second members... | |
| | | | |
www.bfilipek.com
|
|
| | | | | The ISO Committee accepted and published the C++17 Standard in December 2017. In this mega-long article, I've built (with your help!) a list of all major features of the new standard. Please have a look and see what we get! Language Features New auto rules for direct-list-initialization static_assert with no message typename in a template template parameter Removing trigraphs Nested namespace definition Attributes for namespaces and enumerators u8 character literals Allow constant evaluation for all non-type template arguments Fold Expressions Unary fold expressions and empty parameter packs Remove Deprecated Use of the register Keyword Remove Deprecated operator++(bool) Removing Deprecated Exception Specifications from C++17 Make exception specifications pa... | |
| | | | |
simpleprogrammer.com
|
|
| | | If you're looking to learn Python - know that you've picked a worthwhile goal. Here's why: Which brings us to the question of how long you'll actually have to spend to become competent in Python programming. Different levels of skill with Python will take you relatively less or more time to achieve. In this article, [...] | ||