From 17b5aca0e087820cf0545ac6923242676dd042d6 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 29 Dec 2019 23:55:50 +0100 Subject: doc: document header derivable.hpp --- include/newtype/derivable.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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{}; /** - * @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{}; + auto constexpr EqBase = derivable{}; /** * @brief A tag to enable derivation of the implicit "conversion to base type" operator -- cgit v1.2.3