Files
cppdraft_translate/cppdraft/conv/func.md
2025-10-25 03:02:53 +03:00

816 B
Raw Blame History

[conv.func]

7 Expressions [expr]

7.3 Standard conversions [conv]

7.3.4 Function-to-pointer conversion [conv.func]

1

#

An lvalue of function type T can be converted to a prvalue of type “pointer to T”.

The result is a pointer to the function.45

45)45)

This conversion never applies to non-static member functions because an lvalue that refers to a non-static member function cannot be obtained.