C++ 11中是否有新的函数类型表达式格式?

CTM*_*ser 11 c++ function-prototypes c++11

今天我查看了Stroustrup的C++ 11 FAQ(2013年4月7日修改),并在type-alias部分的末尾看到了这个:

typedef void (*PFD)(double);    // C style
using PF = void (*)(double);    // using plus C-style type
using P = [](double)->void;     // using plus suffix return type
Run Code Online (Sandbox Code Playgroud)

其中lambda导入器用于启动使用后缀样式返回类型的通用函数类型表达式.这是官方的,还是掉线的测试/愿望清单功能?如果它是官方的,它对非静态成员函数有什么作用?

Xeo*_*Xeo 11

using P = [](double)->void;
Run Code Online (Sandbox Code Playgroud)

不是官方的.众所周知,Bjarne在他的常见问题解答中有点粗心.

但是,工作原理如下:

using P1 = auto(double) -> void;
using P2 = auto(*)(double) -> void;
Run Code Online (Sandbox Code Playgroud)

P1函数类型在哪里,P2是函数指针类型.也许那是他的意图.