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

Support structured binding of fixed-size vectors #11

Closed
demianmnave opened this issue Mar 28, 2018 · 1 comment
Closed

Support structured binding of fixed-size vectors #11

demianmnave opened this issue Mar 28, 2018 · 1 comment
Assignees
Milestone

Comments

@demianmnave
Copy link
Owner

It would be useful to support C++17 structured binding to the elements of a fixed-size cml::vector<>. For example:

auto [x,y,z] = cml::vector3d(1.,2.,3.);

should yield

x = 1.
y = 2.
z = 3.
@demianmnave
Copy link
Owner Author

Fixed in d351844

@demianmnave demianmnave modified the milestones: 2.1.0, 2.1.1 Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant