aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2019-12-28 18:39:54 +0100
committerFelix Morgner <felix.morgner@gmail.com>2019-12-28 18:39:54 +0100
commitd8c5b02674d905f47f288b2fd20f88cb1f5fc792 (patch)
tree0640ff974cabd31183ccf608c86d0f1aab34808f /doc
parent65f0b622e390edb39a6cfd8d614374314472a5a9 (diff)
downloadnewtype-d8c5b02674d905f47f288b2fd20f88cb1f5fc792.tar.xz
newtype-d8c5b02674d905f47f288b2fd20f88cb1f5fc792.zip
new_type: implement support for nt::Relational
Diffstat (limited to 'doc')
-rw-r--r--doc/src/index.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/index.rst b/doc/src/index.rst
index e9c69c0..907b58d 100644
--- a/doc/src/index.rst
+++ b/doc/src/index.rst
@@ -132,7 +132,7 @@ Synopsis
template<typename BaseType,
typename TagType,
auto DerivationClause,
- typename = std::enable_if_t<DerivationClause(nt::Relational)>
+ typename = std::enable_if_t<DerivationClause(nt::Relational)>>
auto constexpr operator<(new_type<BaseType, TagType, DerivationClause> const &,
new_type<BaseType, TagType, DerivationClause> const &) noexcept(/*see below*/)
-> bool;
@@ -140,7 +140,7 @@ Synopsis
template<typename BaseType,
typename TagType,
auto DerivationClause,
- typename = std::enable_if_t<DerivationClause(nt::Relational)>
+ typename = std::enable_if_t<DerivationClause(nt::Relational)>>
auto constexpr operator>(new_type<BaseType, TagType, DerivationClause> const &,
new_type<BaseType, TagType, DerivationClause> const &) noexcept(/*see below*/)
-> bool;
@@ -148,7 +148,7 @@ Synopsis
template<typename BaseType,
typename TagType,
auto DerivationClause,
- typename = std::enable_if_t<DerivationClause(nt::Relational)>
+ typename = std::enable_if_t<DerivationClause(nt::Relational)>>
auto constexpr operator<=(new_type<BaseType, TagType, DerivationClause> const &,
new_type<BaseType, TagType, DerivationClause> const &) noexcept(/*see below*/)
-> bool;
@@ -156,7 +156,7 @@ Synopsis
template<typename BaseType,
typename TagType,
auto DerivationClause,
- typename = std::enable_if_t<DerivationClause(nt::Relational)>
+ typename = std::enable_if_t<DerivationClause(nt::Relational)>>
auto constexpr operator>=(new_type<BaseType, TagType, DerivationClause> const &,
new_type<BaseType, TagType, DerivationClause> const &) noexcept(/*see below*/)
-> bool;
@@ -168,7 +168,7 @@ Synopsis
auto DerivationClause,
typename CharType,
typename StreamTraits,
- typename = std::enable_if_t<DerivationClause(nt::Show)>
+ typename = std::enable_if_t<DerivationClause(nt::Show)>>
auto operator<<(std::basic_ostream<CharType, StreamTraits> &&,
new_type<BaseType, TagType, DerivationClause> const &) noexcept(/*see below*/)
-> std::basic_ostream<CharType, StreamTraits> &;
@@ -178,7 +178,7 @@ Synopsis
auto DerivationClause,
typename CharType,
typename StreamTraits,
- typename = std::enable_if_t<DerivationClause(nt::Read)>
+ typename = std::enable_if_t<DerivationClause(nt::Read)>>
auto operator>>(std::basic_istream<CharType, StreamTraits> &&,
new_type<BaseType, TagType, DerivationClause> &&) noexcept(/*see below*/)
-> std::basic_istream<CharType, StreamTraits> &;