Files
2025-10-25 03:02:53 +03:00

23 lines
816 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[conv.func]
# 7 Expressions [[expr]](./#expr)
## 7.3 Standard conversions [[conv]](conv#func)
### 7.3.4 Function-to-pointer conversion [conv.func]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L721)
An lvalue of function type T can be converted to a prvalue of
type “pointer to T”[.](#1.sentence-1)
The result is a pointer to the
function[.](#1.sentence-2)[45](#footnote-45 "This conversion never applies to non-static member functions because an lvalue that refers to a non-static member function cannot be obtained.")
[45)](#footnote-45)[45)](#footnoteref-45)
This conversion never applies to non-static member functions because an
lvalue that refers to a non-static member function cannot be obtained[.](#footnote-45.sentence-1)