From 3a07d605ebb5d9dbee350800d551039a5b80ac6b Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 29 Dec 2019 17:03:48 +0100 Subject: doc: update new_type signatures --- doc/src/index.rst | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'doc') diff --git a/doc/src/index.rst b/doc/src/index.rst index 6a785a1..ab52381 100644 --- a/doc/src/index.rst +++ b/doc/src/index.rst @@ -135,35 +135,31 @@ Synopsis template> + auto DerivationClause> auto constexpr operator<(new_type const &, new_type const &) noexcept(/*see below*/) - -> bool; + -> std::enable_if_t; template> + auto DerivationClause> auto constexpr operator>(new_type const &, new_type const &) noexcept(/*see below*/) - -> bool; + -> std::enable_if_t; template> + auto DerivationClause> auto constexpr operator<=(new_type const &, new_type const &) noexcept(/*see below*/) - -> bool; + -> std::enable_if_t; template> + auto DerivationClause> auto constexpr operator>=(new_type const &, new_type const &) noexcept(/*see below*/) - -> bool; + -> std::enable_if_t; // Stream input/output operators @@ -171,21 +167,19 @@ Synopsis typename TagType, auto DerivationClause, typename CharType, - typename StreamTraits, - typename = std::enable_if_t> + typename StreamTraits> auto operator<<(std::basic_ostream &, new_type const &) noexcept(/*see below*/) - -> std::basic_ostream &; + -> std::enable_if_t> &; template> + typename StreamTraits> auto operator>>(std::basic_istream &, new_type &) noexcept(/*see below*/) - -> std::basic_istream &; + -> std::enable_if_t> &; } Member Type Aliases -- cgit v1.2.3