
please wait
by zzzhhh
Should the subscript "opt" be dropped in the definition of "array of N T" in the standard?
|
This is the definitive syntax of "array of N T" in C++ Standard https://eel.is/c++draft/dcl.array#1 : D1 [ constant-expression_opt ] ... I think the subs... |
Jan 20, 2025 at 12:03pm
[3 replies] Last: Hi Is it because the array bound may be omitted when there are initia... (by TheIdeasMan)
|
by zzzhhh
Where is const mandated in the Standard when binding an lvalue reference to an rvalue?
|
I'm reading the part of the Standard about initializing an lvalue reference from an rvalue (https://eel.is/c++draft/dcl.init.ref#5.3 ). I know a reference to co... |
Jan 12, 2025 at 10:10am
[1 reply] : I don't think I've ever actually read the standard in over 30 years of... (by seeplus)
|
by zzzhhh
Which item stipulates that A() is a prvalue?
|
class A { ... }; A(); This webpage lists all possible forms of prvalue expressions: https://en.cppreference.com/w/cpp/language/value_cat... |
Jan 4, 2025 at 5:33pm
[2 replies] Last: I believe that A() is a function-style cast expression and is covered ... (by mbozzi)
|