From 2ed17f76082c23c995b59e3b0c1282e7872adf7f Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 2 Jan 2020 23:08:07 +0100 Subject: doc: improve readability of EqBase description --- doc/src/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/src/index.rst b/doc/src/index.rst index 0a92d90..07f5fc3 100644 --- a/doc/src/index.rst +++ b/doc/src/index.rst @@ -421,7 +421,7 @@ Standard derivation tags .. cpp:var:: auto constexpr EqBase = derivable{} - This tag enables the derivation of "Equality comparison with base type" operators :cpp:func:`template\ constexpr bool nt::operator==(BaseType const &, new_type const &)`, :cpp:func:`template\ constexpr bool nt::operator==(new_type const &, BaseType const &)` :cpp:func:`template\ constexpr bool nt::operator!=(BaseType const &, new_type const &)`, and :cpp:func:`template\ constexpr bool nt::operator!=(new_type const &, BaseType const &)` + This tag enables the derivation of "Equality comparison with base type" operators :cpp:func:`operator==(BaseType, new_type) constexpr bool nt::operator==(BaseType const &, new_type const &)>`, :cpp:func:`operator==(new_type, BaseType) constexpr bool nt::operator==(new_type const &, BaseType const &)>` :cpp:func:`operator!=(BaseType, new_type) constexpr bool nt::operator!=(BaseType const &, new_type const &)>`, and :cpp:func:`operator!=(new_type, BaseType) constexpr bool nt::operator!=(new_type const &, BaseType const &)>` By virtue of its nature, deriving this feature compromises the strength of the given :cpp:class:`new_type`. .. versionadded:: 1.0.0 -- cgit v1.2.3