File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
interface/core/containers Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2121 #include < tmmintrin.h>
2222#endif
2323
24- // Difference with STL:
25- // - Don't use is_transparent because we don't have the nessecity to keep compatibility with existing code.
26- // Comparaison and hasher is always transparent if the user provide a custom equal or hasher type.
27-
2824namespace hud
2925{
3026 namespace details ::hashset
@@ -1299,6 +1295,12 @@ namespace hud
12991295 *
13001296 * Uses open addressing with H1/H2 hash scheme and groups for SIMD-friendly probing.
13011297 *
1298+ * Difference with STL:
1299+ * --------------------
1300+ * - Does not use `is_transparent` because we don’t need to maintain compatibility
1301+ * with existing code. Comparison and hasher are always treated as transparent
1302+ * if the user provides a custom equality or hash type.
1303+ *
13021304 * @tparam storage_t Type of storage used for the elements.
13031305 * @tparam hasher_t Type of the hash function.
13041306 * @tparam key_equal_t Type of the equality comparator.
You can’t perform that action at this time.
0 commit comments