Open
Description
In a catch block, if a thrown type has a non-trivial copy constructor, cpy
isn't passively invoked for the user. See: https://godbolt.org/z/vfxPx5cWb
In the case of throwing a constructed object, the static constraint on references prevents this code from compiling as well: https://godbolt.org/z/T5o6TbWPz
Metadata
Metadata
Assignees
Labels
No labels