Compiler Error C2091 (original) (raw)

function returns function

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