Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Motions 2024 03 cwg 1] P3196R0 (Core Language Working Group "ready" Issues) #6906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Apr 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
47469c0
CWG453 References may only bind to “valid” objects
burblebee Mar 26, 2024
6bd8d0a
CWG1954 typeid null dereference check in subexpressions
burblebee Mar 26, 2024
939d5a5
CWG2476 placeholder-type-specifiers and function declarators
burblebee Mar 27, 2024
44a6d81
CWG2533 Storage duration of implicitly created objects
burblebee Mar 27, 2024
eef4c2b
CWG2546 Defaulted secondary comparison operators defined as deleted
burblebee Mar 27, 2024
5cd87e2
CWG2547 Defaulted comparison operator function for non-classes
burblebee Mar 27, 2024
bc3b802
CWG2560 Parameter type determination in a requirement-parameter-list
burblebee Mar 27, 2024
5227675
CWG2568 Access checking during synthesis of defaulted comparison oper…
burblebee Mar 27, 2024
90558db
CWG2634 Avoid circularity in specification of scope for friend class …
burblebee Mar 27, 2024
b391810
CWG2637 Injected-class-name as a simple-template-id
burblebee Mar 27, 2024
54e3829
CWG2638 Improve the example for initializing by initializer list
burblebee Mar 27, 2024
f0eb8e8
CWG2657 Cv-qualification adjustment when binding reference to temporary
burblebee Mar 27, 2024
2dc0d72
CWG2661 Missing disambiguation rule for pure-specifier vs. brace-or-e…
burblebee Mar 27, 2024
6a2476a
CWG2668 co_await in a lambda-expression
burblebee Mar 27, 2024
c720e60
CWG2689 Are cv-qualified std::nullptr_t fundamental types?
burblebee Mar 27, 2024
2e4a603
CWG2700 #error disallows existing implementation practice
burblebee Mar 27, 2024
5c86660
CWG2707 Deduction guides cannot have a trailing requires-clause
burblebee Mar 27, 2024
5d64fb7
CWG2714 Implicit deduction guides omit properties from the parameter-…
burblebee Mar 27, 2024
4655655
CWG2745 Dependent odr-use in generic lambdas
burblebee Mar 27, 2024
1a2c390
CWG2746 Checking of default template arguments
burblebee Mar 27, 2024
5bd604c
CWG2748 Accessing static data members via null pointer
burblebee Mar 27, 2024
14a05c9
CWG2771 Transformation for unqualified-ids in address operator
burblebee Mar 27, 2024
c37fc84
CWG2775 Unclear argument type for copy of exception object
burblebee Mar 27, 2024
03f6db1
CWG2777 Type of id-expression denoting a template parameter object
burblebee Mar 27, 2024
8fb9318
CWG2803 Overload resolution for reference binding of similar types
burblebee Mar 27, 2024
440cef3
CWG2809 An implicit definition does not redeclare a function
burblebee Mar 27, 2024
76fcfea
CWG2810 Requiring the absence of diagnostics for templates
burblebee Mar 27, 2024
36961e8
CWG2811 Clarify "use" of main
burblebee Mar 27, 2024
03408d1
CWG2813 Class member access with prvalues
burblebee Mar 27, 2024
c6000ad
CWG2820 Value-initialization and default constructors
burblebee Mar 27, 2024
f6228d3
CWG2822 Side-effect-free pointer zap
burblebee Mar 27, 2024
6a36364
CWG2824 Copy-initialization of arrays
burblebee Mar 27, 2024
3bf7dac
CWG2825 Range-based for statement using a braced-init-list
burblebee Mar 27, 2024
0e026f5
CWG2828 Ambiguous interpretation of C-style cast
burblebee Mar 27, 2024
b37a8ce
CWG2830 Top-level cv-qualification should be ignored for list-initial…
burblebee Mar 27, 2024
5b089c3
CWG2831 Non-templated function definitions and requires-clauses
burblebee Mar 27, 2024
0149909
CWG2845 Make the closure type of a captureless lambda a structural type
burblebee Mar 27, 2024
a41b34e
CWG2846 Out-of-class definitions of explicit object member functions
burblebee Mar 27, 2024
69c86fa
CWG2848 Omitting an empty template argument list for explicit instant…
burblebee Mar 27, 2024
aef74c9
CWG2849 Parameter objects are not temporary objects
burblebee Mar 27, 2024
f8b0b5f
CWG2850 Unclear storage duration for function parameter objects
burblebee Mar 27, 2024
8811f8a
CWG2851 Allow floating-point conversions in converted constant expres…
burblebee Mar 27, 2024
e611b75
CWG2853 Pointer arithmetic with pointer to hypothetical element
burblebee Mar 27, 2024
10bddc9
CWG2854 Storage duration of exception objects
burblebee Mar 27, 2024
c95348a
CWG2855 Undefined behavior in postfix increment
burblebee Mar 27, 2024
6b3f68b
CWG2856 Copy-list-initialization with explicit default constructors
burblebee Mar 27, 2024
d0bd27d
CWG2857 Argument-dependent lookup with incomplete class types
burblebee Mar 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CWG2856 Copy-list-initialization with explicit default constructors
  • Loading branch information
burblebee authored and tkoeppe committed Apr 15, 2024
commit 6b3f68b392172791813b1e77671d2fe9d9693e5a
9 changes: 5 additions & 4 deletions 9 source/overloading.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1001,17 +1001,18 @@
or default-initialized\iref{dcl.init},
overload resolution selects the constructor.
For direct-initialization or default-initialization
that is not in the context of copy-initialization, the
candidate functions are
(including default-initialization in the context of copy-list-initialization),
the candidate functions are
all the constructors of the class of the object being
initialized.
For copy-initialization (including default initialization
in the context of copy-initialization), the candidate functions are all
Otherwise, the candidate functions are all
the converting constructors\iref{class.conv.ctor} of that
class.
The argument list is the
\grammarterm{expression-list} or \grammarterm{assignment-expression}
of the \grammarterm{initializer}.
For default-initialization in the context of copy-list-initialization,
if an explicit constructor is chosen, the initialization is ill-formed.

\rSec3[over.match.copy]{Copy-initialization of class by user-defined conversion}%
\indextext{overloading!resolution!initialization}
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.