Monthly Archives: January 2019

Syntax [crayon-5cb9e81974262194891746/]   Tuples and data fetching Tuples are suggested for returning multiple values from a function. They are in a strong relation with std::tie, which is used for retrieving the values. The only problem is that we have to have all those variables previously declared. [crayon-5cb9e8197426c892842135/] But what if […]

Language feature: Structured binding

Syntax [crayon-5cb9e81974782946250253/] std::quoted was added in C++14 and it is used to take care of escaping quotes and backslashes in output streams, and unescaping them in input streams. This is handy for example if we want to use it in an SQL statement, in both ways (either add the escaping, […]

std::quoted and the “friendly” delimiters