C++ Curiously Recurring Template Pattern (CRTP)The Curiously Recurring Template Pattern (CRTP) is a powerful idiom in C++ that enables static polymorphism. Unlike traditional…Aug 9, 20243Aug 9, 20243
C++17’s Constexpr IfIn C++17, constexpr is a keyword used to indicate that a function or object can be evaluated at compile time. It allows the result of the…Apr 14, 20241Apr 14, 20241
Pointer To Implementation(PIMPL) Idiom By Using Smart Pointer in C++The pimpl, standing for “pointer to implementation” is a widespread technique to cut compilation dependencies.Mar 16, 2024Mar 16, 2024
std::move and std::forward in C++First we should look at the concepts of “Rvalue” and “LValue”.Mar 2, 2024Mar 2, 2024
Sqlite Views and Trigger OperationsIn SQLite, views and triggers are used for different purposes but are both powerful tools for managing and manipulating data.Feb 19, 2024Feb 19, 2024
QT SQL OperationsDatabase using is indispensable in many projects. As you know, there are many types of SQL databases. For example, using SQLite for small…Feb 16, 20241Feb 16, 20241
QT LinguistWe generally want the projects developed to be global. In other words, we want not only the people of one country, but also the people of…Dec 16, 2023Dec 16, 2023
Template Method Pattern in C++ for SQLite operationsIn our codes, sometimes some operations need to be sequential and this order is fixed. For example, file or database operations are like…Nov 17, 2023Nov 17, 2023
Factory And Abstract Factor Design Pattern for C++In our software, we may sometimes want to hide creation information from objects that will use the created object.Nov 17, 2023Nov 17, 2023