Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix with overloading issue with clang 17
In file included from cuco/static_map.cuh:26: In file included from cuco/static_map_ref.cuh:200: cuco/detail/static_map/static_map_ref.inl:152:88: error: __host__ function 'with' cannot overload __host__ __device__ function 'with' 152 | auto static_map_ref<Key, T, Scope, KeyEqual, ProbingScheme, StorageRef, Operators...>::with( | ^ cuco/static_map_ref.cuh:177:42: note: previous declaration is here 177 | [[nodiscard]] __host__ __device__ auto with(NewOperators... ops) && noexcept; | ^ The forward declaration isn't working, just inline it in the header. Signed-off-by: Austin Schuh <[email protected]>
- Loading branch information