-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove get_type_index
in favour of more standard which()
#73
Comments
I was thinking about the invalid index value when attempting to use a smaller type for storing the index (#19). std/tuple/boost/... use indices mapbox::variant internally uses indices |
@lightmare - thanks. I can see it will work but I'm a bit hesitant to just go and change internal index to |
Currently there is still the public |
ok with me |
/agree, shouldn't be changed until it's truly internal. |
get_type_index
returns index in reversed order which is confusing.which
method is complaint withboost::variant
.In order to remove
get_type_index
we need to address last remaining issue -invalid_type
value.Proposed solution:
The text was updated successfully, but these errors were encountered: