Compiler Error C2091

 

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 C2091.

function returns function

A function cannot return a function. Return a pointer to a function instead.

Show: