Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Missing algorithm header. #3548

Closed
Ozomahtli opened this issue Jul 25, 2023 · 2 comments
Closed

Missing algorithm header. #3548

Ozomahtli opened this issue Jul 25, 2023 · 2 comments

Comments

@Ozomahtli
Copy link
Contributor

Hello!
This following line fails to compile as <algorithm> hasn't been included.
Could this be a converted to a loop to avoid the include ?

std::copy(data, data + size, bigits_.data());

Thanks!

@vitaut
Copy link
Contributor

vitaut commented Jul 25, 2023

This should really be std::uninitialized_copy_n. A PR to change is welcome.

@Ozomahtli
Copy link
Contributor Author

Done, thanks for clarification!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants