1002 B
1002 B
[conv.fctptr]
7 Expressions [expr]
7.3 Standard conversions [conv]
7.3.14 Function pointer conversions [conv.fctptr]
A prvalue of type âpointer to noexcept functionâ can be converted to a prvalue of type âpointer to functionâ.
The result is a pointer to the function.
A prvalue of type âpointer to member of type noexcept functionâ can be converted to a prvalue of type âpointer to member of type functionâ.
The result designates the member function.
[Example 1: void (*p)();void (**pp)() noexcept = &p; // error: cannot convert to pointer to noexcept functionstruct S { typedef void (*p)(); operator p(); };void (*q)() noexcept = S(); // error: cannot convert to pointer to noexcept function â end example]