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 […]
Bootloader is the main software which is initially triggered whilst the system is powered on. Bootloader is mandatory to run the startup process which sets the […]
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 […]
Elvis operator(?:) is named after its resemblance to Elvis Presley’s famous hair. Even though it is not the “king” of operators, the operator is present in […]
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