diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2019-12-28 19:35:55 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2019-12-28 19:35:55 +0100 |
| commit | 2ebb5d337b085a4c7f21ffcd0e63f969272285ce (patch) | |
| tree | 44b3a0a1b5acedf3406f0512c290f04237e1fbff /doc | |
| parent | d8c5b02674d905f47f288b2fd20f88cb1f5fc792 (diff) | |
| download | newtype-2ebb5d337b085a4c7f21ffcd0e63f969272285ce.tar.xz newtype-2ebb5d337b085a4c7f21ffcd0e63f969272285ce.zip | |
new_type: implement stream io operators
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/src/index.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/index.rst b/doc/src/index.rst index 907b58d..e0ebaad 100644 --- a/doc/src/index.rst +++ b/doc/src/index.rst @@ -169,7 +169,7 @@ Synopsis typename CharType, typename StreamTraits, typename = std::enable_if_t<DerivationClause(nt::Show)>> - auto operator<<(std::basic_ostream<CharType, StreamTraits> &&, + auto operator<<(std::basic_ostream<CharType, StreamTraits> &, new_type<BaseType, TagType, DerivationClause> const &) noexcept(/*see below*/) -> std::basic_ostream<CharType, StreamTraits> &; @@ -179,8 +179,8 @@ Synopsis typename CharType, typename StreamTraits, typename = std::enable_if_t<DerivationClause(nt::Read)>> - auto operator>>(std::basic_istream<CharType, StreamTraits> &&, - new_type<BaseType, TagType, DerivationClause> &&) noexcept(/*see below*/) + auto operator>>(std::basic_istream<CharType, StreamTraits> &, + new_type<BaseType, TagType, DerivationClause> &) noexcept(/*see below*/) -> std::basic_istream<CharType, StreamTraits> &; } |
