Date: Sat, 10 Jan 2026 11:46:12 -0500
On Sat, Jan 10, 2026 at 11:08 AM Jarrad Waterloo via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Is there going to be an equivalent "User-Defined Trivial Constructors"?
That is a contradiction in terms. If it's user-defined, then it could
do anything. If it's trivial, then it does trivial things. A trivial
default constructor is a no-op. A trivial copy/move constructor does a
bitwise copy.
What could go into a user-defined constructor that's trivial besides
*nothing*? If your user-defined trivial constructor takes parameters,
what could a trivial constructor do with those parameters besides
nothing?
<std-proposals_at_[hidden]> wrote:
>
> Is there going to be an equivalent "User-Defined Trivial Constructors"?
That is a contradiction in terms. If it's user-defined, then it could
do anything. If it's trivial, then it does trivial things. A trivial
default constructor is a no-op. A trivial copy/move constructor does a
bitwise copy.
What could go into a user-defined constructor that's trivial besides
*nothing*? If your user-defined trivial constructor takes parameters,
what could a trivial constructor do with those parameters besides
nothing?
Received on 2026-01-10 16:46:25
