aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2020-01-02 23:08:07 +0100
committerFelix Morgner <felix.morgner@gmail.com>2020-01-02 23:08:07 +0100
commit2ed17f76082c23c995b59e3b0c1282e7872adf7f (patch)
tree55950d8f74ebec785a98a65b464435d5bb33616d /doc
parentb196e2c10ed8823c681623dfd7bc09b0eb3ad1d2 (diff)
downloadnewtype-2ed17f76082c23c995b59e3b0c1282e7872adf7f.tar.xz
newtype-2ed17f76082c23c995b59e3b0c1282e7872adf7f.zip
doc: improve readability of EqBase description
Diffstat (limited to 'doc')
-rw-r--r--doc/src/index.rst2
1 files changed, 1 insertions, 1 deletions
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<struct eq_base_tag>{}
- This tag enables the derivation of "Equality comparison with base type" operators :cpp:func:`template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator==(BaseType const &, new_type<BaseType, TagType, DerivationClause> const &)`, :cpp:func:`template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator==(new_type<BaseType, TagType, DerivationClause> const &, BaseType const &)` :cpp:func:`template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator!=(BaseType const &, new_type<BaseType, TagType, DerivationClause> const &)`, and :cpp:func:`template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator!=(new_type<BaseType, TagType, DerivationClause> const &, BaseType const &)`
+ This tag enables the derivation of "Equality comparison with base type" operators :cpp:func:`operator==(BaseType, new_type) <template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator==(BaseType const &, new_type<BaseType, TagType, DerivationClause> const &)>`, :cpp:func:`operator==(new_type, BaseType) <template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator==(new_type<BaseType, TagType, DerivationClause> const &, BaseType const &)>` :cpp:func:`operator!=(BaseType, new_type) <template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator!=(BaseType const &, new_type<BaseType, TagType, DerivationClause> const &)>`, and :cpp:func:`operator!=(new_type, BaseType) <template\<typename BaseType, typename TagType, auto DerivationClause> constexpr bool nt::operator!=(new_type<BaseType, TagType, DerivationClause> 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