-
|
Hello! ObservationWhen copying a container with a non-copyable type:
CodeI've prepared a minimal example demonstrating this behavior (attached). QuestionIs this the intended behavior? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I guess 🤔 it's due to the |
Beta Was this translation helpful? Give feedback.
I guess 🤔 it's due to the
vtablethat is copied no matter what, even ifstorage{other.storage}fails to to the non-copiability of the contained type. Good catch. It's likely a bug, although pretty tricky. I'm taking note of it. 👍