using P = [](double)->void;
is not official. Bjarne is known to be a bit careless in his FAQs.
What does work, however, are the following:
using P1 = auto(double) -> void;
using P2 = auto(*)(double) -> void;
Where P1
is a function type, and P2
is a function-pointer type. Maybe that was his intention.