aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/newtype/derivable.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/newtype/derivable.hpp b/include/newtype/derivable.hpp
index 1b6651f..d5672ac 100644
--- a/include/newtype/derivable.hpp
+++ b/include/newtype/derivable.hpp
@@ -27,11 +27,12 @@ namespace nt
auto constexpr Arithmetic = derivable<struct arithmetic_tag>{};
/**
- * @brief A tag to enable derivation of equality comparison operators
+ * @brief A tag to enable derivation of "equality comparison with base type" operators
*
+ * @note Deriving this feature seriously weakens the using nt::new_type instance
* @since 1.0.0
*/
- auto constexpr EqBase = derivable<struct eq_tag>{};
+ auto constexpr EqBase = derivable<struct eq_base_tag>{};
/**
* @brief A tag to enable derivation of the implicit "conversion to base type" operator