Top "Rationale" questions

What is the point of 'git submodule init'?

Background To populate a repository's submodules, one typically invokes: git submodule init git submodule update In this usage, git submodule …

git git-submodules rationale
C++14 Variable Templates: what is their purpose? Any usage example?

C++14 will allow the creation of variables that are templated. The usual example is a variable 'pi' that can be …

c++ templates c++14 rationale
Why introduce `std::launder` rather than have the compiler take care of it?

I've just read What is the purpose of std::launder? and frankly, I am left scratching my head. Let's start …

c++ c++17 language-lawyer rationale stdlaunder
What is the point of DBNull?

In .NET there is the null reference, which is used everywhere to denote that an object reference is empty, and …

.net history dbnull rationale
Is there a specific reason nested namespace declarations are not allowed in C++?

The standard does not allow code like this: namespace Hello::World { //Things that are in namespace Hello::World } and instead …

c++ namespaces language-design rationale