-
Notifications
You must be signed in to change notification settings - Fork 115
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
Compile error when using flat_map::extract_sequence with small_vector #288
Comments
facebook-github-bot
pushed a commit
to facebook/redex
that referenced
this issue
Sep 4, 2024
Summary: Boost 1.86.0 has a bug with flat_map::extract_sequence. Let's use a workaround for now. See boostorg/container#288 for upstream report. Reviewed By: arnaudvenet Differential Revision: D62103078 fbshipit-source-id: c54777faff875635ed025b16e78a99aaf555453f
facebook-github-bot
pushed a commit
to facebook/redex
that referenced
this issue
Sep 4, 2024
Summary: Boost 1.86.0 has a bug with flat_map::extract_sequence. Let's use a workaround for now. See boostorg/container#288 for upstream report. Reviewed By: arnaudvenet Differential Revision: D62103078 fbshipit-source-id: c54777faff875635ed025b16e78a99aaf555453f
facebook-github-bot
pushed a commit
to facebook/SPARTA
that referenced
this issue
Sep 4, 2024
Summary: Boost 1.86.0 has a bug with flat_map::extract_sequence. Let's use a workaround for now. See boostorg/container#288 for upstream report. Reviewed By: arnaudvenet Differential Revision: D62103078 fbshipit-source-id: c54777faff875635ed025b16e78a99aaf555453f
Many thanks for the issue. Trying to reproduce it I found that extract/adopt were not properly tested and in general, flat_map tests needed to test more combinations of types (move-only, etc) and underlying containers (small_vector, devector, etc.). I've committed those changes first (daa81ed) and then commit changes to fix your bug. So your bug report has been very useful, thanks! |
facebook-github-bot
pushed a commit
to facebook/redex
that referenced
this issue
Sep 11, 2024
Summary: The bug with `boost::container::flat_map::extract_sequence` has been fixed (see boostorg/container#288) This should go out in boost 1.87 (probably in a few months). Therefore, let's re-enable the optimization for boost versions != 1.86 Reviewed By: arnaudvenet Differential Revision: D62436361 fbshipit-source-id: b2010fbae81f4b65039ee1dd6459c5e7021dbc3f
facebook-github-bot
pushed a commit
to facebook/redex
that referenced
this issue
Sep 11, 2024
Summary: The bug with `boost::container::flat_map::extract_sequence` has been fixed (see boostorg/container#288) This should go out in boost 1.87 (probably in a few months). Therefore, let's re-enable the optimization for boost versions != 1.86 Reviewed By: arnaudvenet Differential Revision: D62436361 fbshipit-source-id: b2010fbae81f4b65039ee1dd6459c5e7021dbc3f
facebook-github-bot
pushed a commit
to facebook/SPARTA
that referenced
this issue
Sep 11, 2024
Summary: The bug with `boost::container::flat_map::extract_sequence` has been fixed (see boostorg/container#288) This should go out in boost 1.87 (probably in a few months). Therefore, let's re-enable the optimization for boost versions != 1.86 Reviewed By: arnaudvenet Differential Revision: D62436361 fbshipit-source-id: b2010fbae81f4b65039ee1dd6459c5e7021dbc3f
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
My project started seeing compilation errors with boost 1.86.0, when using
flat_map::extract_sequence
in combination withsmall_vector
.Here is a repro:
This results in:
This is also visible in CI here: https://github.com/facebook/mariana-trench/actions/runs/10595093691/job/29360092181
I think this is related to
dtl::force<impl_sequence_type>
, but I didn't dig deeper.FYI this issue is not present with older version (for instance, boost 1.77.0).
The text was updated successfully, but these errors were encountered: