|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52289 - trunk/boost/asio
From: chris_at_[hidden]
Date: 2009-04-09 08:00:37
Author: chris_kohlhoff
Date: 2009-04-09 08:00:36 EDT (Thu, 09 Apr 2009)
New Revision: 52289
URL: http://svn.boost.org/trac/boost/changeset/52289
Log:
Correct documentation of read, read_at, write and write_at functions to
match new CompletionCondition concept. Fixes #2871.
Text files modified:
trunk/boost/asio/read.hpp | 12 ++++++------
trunk/boost/asio/read_at.hpp | 12 ++++++------
trunk/boost/asio/write.hpp | 12 ++++++------
trunk/boost/asio/write_at.hpp | 12 ++++++------
4 files changed, 24 insertions(+), 24 deletions(-)
Modified: trunk/boost/asio/read.hpp
==============================================================================
--- trunk/boost/asio/read.hpp (original)
+++ trunk/boost/asio/read.hpp 2009-04-09 08:00:36 EDT (Thu, 09 Apr 2009)
@@ -83,7 +83,7 @@
* @li The supplied buffers are full. That is, the bytes transferred is equal to
* the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* read_some function.
@@ -134,7 +134,7 @@
* @li The supplied buffers are full. That is, the bytes transferred is equal to
* the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* read_some function.
@@ -202,7 +202,7 @@
* This function is used to read a certain number of bytes of data from a
* stream. The call will block until one of the following conditions is true:
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* read_some function.
@@ -240,7 +240,7 @@
* This function is used to read a certain number of bytes of data from a
* stream. The call will block until one of the following conditions is true:
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* read_some function.
@@ -356,7 +356,7 @@
* @li The supplied buffers are full. That is, the bytes transferred is equal to
* the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* @param s The stream from which the data is to be read. The type must support
* the AsyncReadStream concept.
@@ -468,7 +468,7 @@
* asynchronous operation will continue until one of the following conditions is
* true:
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* async_read_some function.
Modified: trunk/boost/asio/read_at.hpp
==============================================================================
--- trunk/boost/asio/read_at.hpp (original)
+++ trunk/boost/asio/read_at.hpp 2009-04-09 08:00:36 EDT (Thu, 09 Apr 2009)
@@ -91,7 +91,7 @@
* @li The supplied buffers are full. That is, the bytes transferred is equal to
* the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* read_some_at function.
@@ -147,7 +147,7 @@
* @li The supplied buffers are full. That is, the bytes transferred is equal to
* the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* read_some_at function.
@@ -225,7 +225,7 @@
* random access device at the specified offset. The call will block until one
* of the following conditions is true:
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* read_some_at function.
@@ -268,7 +268,7 @@
* random access device at the specified offset. The call will block until one
* of the following conditions is true:
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* read_some_at function.
@@ -389,7 +389,7 @@
* @li The supplied buffers are full. That is, the bytes transferred is equal to
* the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* @param d The device from which the data is to be read. The type must support
* the AsyncRandomAccessReadDevice concept.
@@ -507,7 +507,7 @@
* always returns immediately. The asynchronous operation will continue until
* one of the following conditions is true:
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* async_read_some_at function.
Modified: trunk/boost/asio/write.hpp
==============================================================================
--- trunk/boost/asio/write.hpp (original)
+++ trunk/boost/asio/write.hpp 2009-04-09 08:00:36 EDT (Thu, 09 Apr 2009)
@@ -82,7 +82,7 @@
* @li All of the data in the supplied buffers has been written. That is, the
* bytes transferred is equal to the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* write_some function.
@@ -133,7 +133,7 @@
* @li All of the data in the supplied buffers has been written. That is, the
* bytes transferred is equal to the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* write_some function.
@@ -205,7 +205,7 @@
*
* @li All of the data in the supplied basic_streambuf has been written.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* write_some function.
@@ -245,7 +245,7 @@
*
* @li All of the data in the supplied basic_streambuf has been written.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* write_some function.
@@ -353,7 +353,7 @@
* @li All of the data in the supplied buffers has been written. That is, the
* bytes transferred is equal to the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* async_write_some function.
@@ -463,7 +463,7 @@
*
* @li All of the data in the supplied basic_streambuf has been written.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the stream's
* async_write_some function.
Modified: trunk/boost/asio/write_at.hpp
==============================================================================
--- trunk/boost/asio/write_at.hpp (original)
+++ trunk/boost/asio/write_at.hpp 2009-04-09 08:00:36 EDT (Thu, 09 Apr 2009)
@@ -88,7 +88,7 @@
* @li All of the data in the supplied buffers has been written. That is, the
* bytes transferred is equal to the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* write_some_at function.
@@ -143,7 +143,7 @@
* @li All of the data in the supplied buffers has been written. That is, the
* bytes transferred is equal to the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* write_some_at function.
@@ -223,7 +223,7 @@
*
* @li All of the data in the supplied basic_streambuf has been written.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* write_some_at function.
@@ -266,7 +266,7 @@
*
* @li All of the data in the supplied basic_streambuf has been written.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* write_some_at function.
@@ -379,7 +379,7 @@
* @li All of the data in the supplied buffers has been written. That is, the
* bytes transferred is equal to the sum of the buffer sizes.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* async_write_some_at function.
@@ -495,7 +495,7 @@
*
* @li All of the data in the supplied basic_streambuf has been written.
*
- * @li The completion_condition function object returns true.
+ * @li The completion_condition function object returns 0.
*
* This operation is implemented in terms of zero or more calls to the device's
* async_write_some_at function.
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk