Nugget: C++1y Automatic Type Deduction—Tony DaSilva

Save to:
Instapaper Pocket Readability

A short nugget by Tony DaSilva:

C++1y Automatic Type Deduction

by Tony DaSilva

From the article:

In addition to this convenient usage, employing auto in conjunction with the new (and initially weird) function-trailing-return-type syntax is useful for defining function templates that manipulate multiple parameterized types (see the third entry in the list of function definitions below).

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.