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

Can't pack into std::span #9

Open
zanderdk opened this issue Sep 27, 2021 · 1 comment
Open

Can't pack into std::span #9

zanderdk opened this issue Sep 27, 2021 · 1 comment
Assignees

Comments

@zanderdk
Copy link

According to the documentation pack_into should be able to pack_into any byte_container, but the function takes a std:array instead of std::span or equivalent.

constexpr void pack_into(Fmt /*unused*/, std::array<byte_type, N>& data, const size_type offset, Args&&... args)

@CrustyAuklet CrustyAuklet self-assigned this Sep 27, 2021
CrustyAuklet added a commit that referenced this issue Sep 27, 2021
with span-lite this currently breaks on MSVC (but not gcc). Waiting to see response to bug report in span-lite
@CrustyAuklet
Copy link
Owner

thanks for pointing this out! I've been working on a major refactor in the multi-header-2 branch, so I made the fix in a branch off of that. I mainly test with span-lite and this breaks on MSVC right now. I opened up a issue there, and I will see what they say.

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

No branches or pull requests

2 participants