-
Notifications
You must be signed in to change notification settings - Fork 14
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
[gcc/clang] Compilation issues #10
Comments
Similar issue I spotted, when call rea::slot_map<int> s {};
s.clear();
--> Compiler Explorer <-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't compile the tests. I believe there are a few problems
using SlotSizeType = SizeType<IteratorValueType<I>>;
I don't think it's valid trying to get the size_type from the value_type of an iterator. This sounds like it might be tricky to solve.
There's also a few constexpr void functions (constexpr static void reset_version_counts()) and these only compile on C++14 or greater, but according to the README it sounds like this is supposed to target C++11.
There are a few instances where iterators are being taken by reference in these functions:
I'm not sure if this is necessary in any way, but it does not compile and gives
error: cannot bind non-const lvalue reference
errors.I haven't figured out this last error yet, but I'm getting really weird linker errors surrounding regulated_slot_list::npos. This does NOT happen with C++17 or above, but I still don't understand it.
The text was updated successfully, but these errors were encountered: