|
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! |
Answered by
skypjack
Feb 6, 2026
Replies: 1 comment
|
I guess 🤔 it's due to the |
0 replies
Answer selected by
pogmat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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. 👍