Trailing Return Type
The trailing return type feature was added in C++11. This feature allows you to specify the return type after a function declaration instead of before. In order to see how this is can be useful, we shall look at a simple example. Suppose we have an Employee class which records an employee’s salary and whether … Read more