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

20 lines
669 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.array]
# 7 Expressions [[expr]](./#expr)
## 7.3 Standard conversions [[conv]](conv#array)
### 7.3.3 Array-to-pointer conversion [conv.array]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L709)
An lvalue or rvalue of type “array of N T” or “array
of unknown bound of T” can be converted to a prvalue of type
“pointer to T”[.](#1.sentence-1)
The temporary materialization conversion ([[conv.rval]](conv.rval "7.3.5Temporary materialization conversion")) is applied[.](#1.sentence-2)
The result is a pointer to the first element of the array[.](#1.sentence-3)