Closed alexkaratarakis closed 1 year ago
The iterator type of std::map dereferences to a non-MoveAssignable type (std::pair<const K, V>) This causes algorithms like std::remove to fail at compile-time. See https://en.cppreference.com/w/cpp/algorithm/remove#Notes for more info.
Match this behavior in FixedMap/EnumMap.
The iterator type of std::map dereferences to a non-MoveAssignable type (std::pair<const K, V>) This causes algorithms like std::remove to fail at compile-time. See https://en.cppreference.com/w/cpp/algorithm/remove#Notes for more info.
Match this behavior in FixedMap/EnumMap.