Deducing your intentions—Andrzej Krzemieński

Save to:
Instapaper Pocket Readability

Were you aware?

Deducing your intentions

by Andrzej Krzemieński

From the article:

The language feature in C++17 known as class template argument deduction was intended to supersede factory functions like make_pair, make_tuple, make_optional, as described in p0091r2. This goal has not been fully achieved and we may still need to stick to make_ functions. In this post we will briefly describe what class template argument deduction is, and why it works differently than what people often expect...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.