This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

19
cppdraft/conv/array.md Normal file
View File

@@ -0,0 +1,19 @@
[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)