From 2ebb5d337b085a4c7f21ffcd0e63f969272285ce Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 28 Dec 2019 19:35:55 +0100 Subject: new_type: implement stream io operators --- doc/src/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') 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> - auto operator<<(std::basic_ostream &&, + auto operator<<(std::basic_ostream &, new_type const &) noexcept(/*see below*/) -> std::basic_ostream &; @@ -179,8 +179,8 @@ Synopsis typename CharType, typename StreamTraits, typename = std::enable_if_t> - auto operator>>(std::basic_istream &&, - new_type &&) noexcept(/*see below*/) + auto operator>>(std::basic_istream &, + new_type &) noexcept(/*see below*/) -> std::basic_istream &; } -- cgit v1.2.3