The algorithms library of C++ can sometimes be a little inconvenient since most of them requires a begin and an end iterator to operate (1). Utilizing […]
Scope Resolution Operator (::)Ternary or Conditional Operator (?:)Member Access or Dot operator (.)Pointer-to-member Operator (.*) Object size Operator (sizeof)Object type Operator(typeid) could not be overloaded in […]
C++17 introduces [[nodiscard]] attribute to let the compiler deduce that the return value of a function or method must be handled by a properly assigned value. […]
When trying to access a derived class functionality in a base class, Curiously Recurring Template Pattern (CRTP) provides a useful interface. Inheriting from a template base […]
std::promise and std::future work as asynchronous handshake contract on an object. Whenever the acquired object value is obtained by promise, it sets the value and passes […]
Template deduction guides are patterns associated with a template class that tell the compiler how to translate a set of parameters (and their types) into template […]
C++17 introduces a concept called std::optional. The class template std::optional manages optional contained value, a value that may or may not be present. It is commonly […]
This website uses cookies to improve your experience. By using this website you agree to our Data Privacy Statement