AnthonyCalandra / modern-cpp-features

A cheatsheet of modern C++ language and library features.
MIT License
19.6k stars 2.08k forks source link

C++ 11 Feature Missing - Trailing return type #55

Closed holybubbles closed 5 years ago

holybubbles commented 5 years ago

In the C++ 11 Language features, Function Trailing Return Types isn't in the list. According to https://en.cppreference.com/w/cpp/language/functions, this is a feature in C++ 11, and helps with writing arguably more readable code.

AnthonyCalandra commented 5 years ago

Resolved by https://github.com/AnthonyCalandra/modern-cpp-features/commit/1c60839a11010e214131d057b980f4873bcbe0e6.