Template Arguments--Rainer Grimm

The series continue.

Template Arguments

by Rainer Grimm

From the article:

It is quite interesting how the compiler deduces the types for the template arguments. To make it short, you get most of the time the type you expect. The rules do not only apply to function templates (C++98) but also to auto (C++11), to class templates (C++17), and concepts (C++20)...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.