10 years, 2 months ago.

Trying to use std::function results in Qualified name is not allowed

I'm trying to make a callback from one member function to another member function. And apparently I should use the std::function, something like:

std::function<void()> callback;

But I get an error: Qualified name is not allowed "std::function<void()> callback;"

What could be the problem?

1 Answer

10 years, 2 months ago.

Hi,

isn't function part of C++11 standard ? ARMCC does not support C++11 at the moment.

Regards,
0xc0170

Accepted Answer