Skip to content

Commit a09f64c

Browse files
committed
[socket.streambuf.virtual] Replace \effects Returns with \returns
Rephrase to match overflow() Returns: in paragraph 7.
1 parent f8c6588 commit a09f64c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/socketstreams.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@
274274
\effects Behaves according to the description of \tcode{basic_streambuf<char>::underflow()}, with the specialization that a sequence of characters is read from the input sequence as if by POSIX \tcode{recvmsg}, and \tcode{ec_} is set to reflect the error code produced by the operation. If the operation does not complete before the absolute timeout specified by \tcode{expiry_}, the socket is closed and \tcode{ec_} is set to \tcode{errc::timed_out}.
275275

276276
\pnum
277-
\effects Returns \tcode{traits_type::eof()} to indicate failure. Otherwise returns \tcode{traits_type::to_int_type(*gptr())}.
277+
\returns \tcode{traits_type::to_int_type(*gptr())} to indicate success,
278+
and \tcode{traits_type::eof()} to indicate failure.
278279
\end{itemdescr}
279280

280281
\begin{itemdecl}

0 commit comments

Comments
 (0)