-
I'm trying to wrap my head around having move-only types as components. Why does the following work registry.emplace<std::unique_ptr<int>>(enemy, std::unique_ptr<int>()); but wrapping a move-only type in a registry.emplace<std::vector<std::unique_ptr<int>>>(enemy, std::vector<std::unique_ptr<int>>()); |
Beta Was this translation helpful? Give feedback.
Answered by
skypjack
Jul 1, 2022
Replies: 1 comment 3 replies
-
Can you post the relevant part of the error? I can't try it right away but I've a suspect. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
jhasse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you post the relevant part of the error? I can't try it right away but I've a suspect.