Compiler Error C3550

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C3550.

only plain 'decltype(auto)' is allowed in this context

If decltype(auto) is used as a placeholder for the return type of a function, it must be used by itself. It cannot be used as part of a pointer declaration (decltype(auto*)), a reference declaration (decltype(auto&)), or any other such qualification.

auto

Show: