Questions tagged [enum]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
53 views

Store enum value in table

I have a simple enum (or enum class, neither one is working ) enum vote_option { upvote = 0, downvote and a table which will store a value of that enum type. struct [[eosio::table]] poll { ...