Skip to content

[meta] How do you assign to an instance of a type through entt::meta_any? #1235

Closed Answered by skypjack
JuanDiegoMontoya asked this question in Q&A
Discussion options

You must be logged in to vote

.set is used to work with (meta) members. Your value is an integral type. What you're looking for is likely meta.assign(Foo::BAR).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JuanDiegoMontoya
Comment options

Answer selected by JuanDiegoMontoya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question open question discussion it sounds interesting, let's discuss it
2 participants