C++ Dependent Name

In C++, a dependent name refers to a name (e.g., a type, variable, function, or template) whose meaning depends on a template parameter.

Read more

Most Vexing Parse

The term “most vexing parse” was first used by Scott Meyers in his 2001 book Effective STL.

Read more

SFINAE

“Substitution Failure is Not An Error”

Read more

Class Functions inlining

Today, while reading a book by Bjarne Stroustrup, I came across an interesting C++ fact that I hadn’t known before.

Read more

Avoid Naked Union

To ensure safety, encapsulate the union within a class or struct.

Read more

Auto-type Deduction Rules

Auto-type deduction allows the compiler to deduce the type of a variable from its initializer.

Read more

C++ Insights Tool

C++ Insights is an open-source tool that transforms C++ source code into a representation closer to what compiler sees and generates. It helps understand the underlying details of C++.

Read more