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

Build failures on GCC 8 #51

Open
lethal-guitar opened this issue Apr 1, 2021 · 0 comments
Open

Build failures on GCC 8 #51

lethal-guitar opened this issue Apr 1, 2021 · 0 comments

Comments

@lethal-guitar
Copy link

GCC 8 has some limitations with regards to conditional noexcept, it seems. For example, trying to use push_back results in:

error: cannot call member function ‘constexpr void std::experimental::fcv_detail::storage::trivial<T, Capacity>::emplace_back(Args&& ...) [<snip>]’ without object
                 noexcept(emplace_back(forward<U>(value))))
                          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

This can be worked around by using noexcept(declval<fixed_capacity_vector>().emplace_back(forward<U>(value)))).

I did this in my local copy: lethal-guitar/RigelEngine@2eae5a6

I'd be happy to make a PR if desired.

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

1 participant