You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the link to the ALL_IN_ONE.md and the work behind it. What a great read, I wish I knew it existed before!
By usage, I found one thing that's hard/awkward with std::variant is when your types aren't defaulted constructible (or when you want an option for the case where it's not initialized (optional)), with the use of std::monostate. Perhaps adding a small bit about this would be good?
I realize this isn't meant to replace actual documentation but rather get to the point (and it's doing an awesome job at it!), so perhaps that would be considered clutter, I'm not sure.
The text was updated successfully, but these errors were encountered:
Thank you for the link to the
ALL_IN_ONE.md
and the work behind it. What a great read, I wish I knew it existed before!By usage, I found one thing that's hard/awkward with
std::variant
is when your types aren't defaulted constructible (or when you want an option for the case where it's not initialized (optional)), with the use ofstd::monostate
. Perhaps adding a small bit about this would be good?I realize this isn't meant to replace actual documentation but rather get to the point (and it's doing an awesome job at it!), so perhaps that would be considered clutter, I'm not sure.
The text was updated successfully, but these errors were encountered: