Skip to content
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

Move any to variant #13

Open
kabasset opened this issue Jan 22, 2022 · 0 comments
Open

Move any to variant #13

kabasset opened this issue Jan 22, 2022 · 0 comments
Assignees
Labels
internal No impact on public API low priority Maybe some day...
Milestone

Comments

@kabasset
Copy link
Collaborator

It seems std::variant (or boost::variant) is better suited to our needs. It is safer and more efficient, given that all possible types are known. Additional services like std::visit would also be welcome to clean the current macro-based implementation.

The probable future update to C++17 would be the best opportunity.

@kabasset kabasset added internal No impact on public API low priority Maybe some day... labels Jan 22, 2022
@kabasset kabasset added this to the Backlog milestone Jan 22, 2022
@kabasset kabasset self-assigned this Jan 22, 2022
@kabasset kabasset modified the milestones: Backlog, 6.0 Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal No impact on public API low priority Maybe some day...
Projects
None yet
Development

No branches or pull requests

1 participant