Strip blank line from end of code snippets.
This commit is contained in:
parent
0e918faa34
commit
6b082432ed
@ -72,7 +72,6 @@ This function is used to add a service to the io_service.
|
||||
[[svc][The service object. On success, ownership of the service object is transferred to the io\_service. When the io\_service object is destroyed, it will destroy the service object by performing:
|
||||
``
|
||||
delete static_cast<io_service::service*>(svc)
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -306,7 +305,6 @@ This operation is implemented in terms of one or more calls to the stream's asyn
|
||||
// bytes successfully transferred
|
||||
// prior to the error.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -382,7 +380,6 @@ This function is used to asynchronously read a certain number of bytes of data f
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the stream's async\_read\_some function are required.]]
|
||||
|
||||
@ -397,7 +394,6 @@ A return value of true indicates that the read operation is complete. False indi
|
||||
// bytes successfully transferred
|
||||
// prior to the error.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -465,7 +461,6 @@ This operation is implemented in terms of one or more calls to the stream's asyn
|
||||
// bytes successfully transferred
|
||||
// prior to the error.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -531,7 +526,6 @@ This operation is implemented in terms of one or more calls to the stream's asyn
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the stream's async\_read\_some function are required.]]
|
||||
|
||||
@ -546,7 +540,6 @@ A return value of true indicates that the read operation is complete. False indi
|
||||
// bytes successfully transferred
|
||||
// prior to the error.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -655,7 +648,6 @@ This operation is implemented in terms of one or more calls to the device's asyn
|
||||
// transferred prior to the error.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -734,7 +726,6 @@ This function is used to asynchronously read a certain number of bytes of data f
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the device's async\_read\_some\_at function are required.]]
|
||||
|
||||
@ -749,7 +740,6 @@ A return value of true indicates that the read operation is complete. False indi
|
||||
// transferred prior to the error.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -820,7 +810,6 @@ This operation is implemented in terms of one or more calls to the device's asyn
|
||||
// transferred prior to the error.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -889,7 +878,6 @@ This operation is implemented in terms of one or more calls to the device's asyn
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the device's async\_read\_some\_at function are required.]]
|
||||
|
||||
@ -904,7 +892,6 @@ A return value of true indicates that the read operation is complete. False indi
|
||||
// transferred prior to the error.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -1010,7 +997,6 @@ This operation is implemented in terms of zero or more calls to the stream's asy
|
||||
// and including the delimiter.
|
||||
// 0 if an error occurred.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1090,7 +1076,6 @@ This operation is implemented in terms of zero or more calls to the stream's asy
|
||||
// and including the delimiter.
|
||||
// 0 if an error occurred.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1172,7 +1157,6 @@ This operation is implemented in terms of zero or more calls to the stream's asy
|
||||
// expression. 0 if an error
|
||||
// occurred.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1245,12 +1229,10 @@ This operation is implemented in terms of zero or more calls to the stream's asy
|
||||
[[match_condition][The function object to be called to determine whether a match exists. The signature of the function object must be:
|
||||
``
|
||||
pair<iterator, bool> match_condition(iterator begin, iterator end);
|
||||
|
||||
``
|
||||
where iterator represents the type:
|
||||
``
|
||||
buffers_iterator<basic_streambuf<Allocator>::const_buffers_type>
|
||||
|
||||
``
|
||||
The iterator parameters begin and end define the range of bytes to be scanned to determine whether there is a match. The first member of the return value is an iterator marking one-past-the-end of the bytes that have been consumed by the match function. This iterator is used to calculate the begin parameter for any subsequent invocation of the match condition. The second member of the return value is true if a match has been found, false otherwise.]]
|
||||
|
||||
@ -1265,7 +1247,6 @@ The iterator parameters begin and end define the range of bytes to be scanned to
|
||||
// match function. O if an error occurred.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1429,7 +1410,6 @@ This operation is implemented in terms of one or more calls to the stream's asyn
|
||||
// this will be less than the sum
|
||||
// of the buffer sizes.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1496,7 +1476,6 @@ This operation is implemented in terms of one or more calls to the stream's asyn
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the stream's async\_write\_some function are required.]]
|
||||
|
||||
@ -1510,7 +1489,6 @@ A return value of true indicates that the write operation is complete. False ind
|
||||
// this will be less than the sum
|
||||
// of the buffer sizes.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1579,7 +1557,6 @@ This operation is implemented in terms of one or more calls to the stream's asyn
|
||||
// this will be less than the sum
|
||||
// of the buffer sizes.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -1635,7 +1612,6 @@ This operation is implemented in terms of one or more calls to the stream's asyn
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the stream's async\_write\_some function are required.]]
|
||||
|
||||
@ -1649,7 +1625,6 @@ A return value of true indicates that the write operation is complete. False ind
|
||||
// this will be less than the sum
|
||||
// of the buffer sizes.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -1757,7 +1732,6 @@ This operation is implemented in terms of one or more calls to the device's asyn
|
||||
// occurred, this will be less than the sum of the buffer sizes.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1827,7 +1801,6 @@ This operation is implemented in terms of one or more calls to the device's asyn
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the device's async\_write\_some\_at function are required.]]
|
||||
|
||||
@ -1841,7 +1814,6 @@ A return value of true indicates that the write operation is complete. False ind
|
||||
// occurred, this will be less than the sum of the buffer sizes.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -1913,7 +1885,6 @@ This operation is implemented in terms of one or more calls to the device's asyn
|
||||
// occurred, this will be less than the sum of the buffer sizes.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -1972,7 +1943,6 @@ This operation is implemented in terms of one or more calls to the device's asyn
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the device's async\_write\_some\_at function are required.]]
|
||||
|
||||
@ -1986,7 +1956,6 @@ A return value of true indicates that the write operation is complete. False ind
|
||||
// occurred, this will be less than the sum of the buffer sizes.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -2446,7 +2415,6 @@ The socket is automatically opened if it is not already open. If the connect fai
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -2527,7 +2495,6 @@ This function is used to asynchronously receive data from the datagram socket. T
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -2585,7 +2552,6 @@ This function is used to asynchronously receive data from the datagram socket. T
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -2655,7 +2621,6 @@ This function is used to asynchronously receive a datagram. The function call al
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -2713,7 +2678,6 @@ This function is used to asynchronously receive a datagram. The function call al
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -2774,7 +2738,6 @@ This function is used to send data on the datagram socket. The function call wil
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -2832,7 +2795,6 @@ This function is used to send data on the datagram socket. The function call wil
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -2902,7 +2864,6 @@ This function is used to asynchronously send a datagram to the specified remote
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -2962,7 +2923,6 @@ This function is used to asynchronously send a datagram to the specified remote
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -6590,7 +6550,6 @@ For each call to async\_wait(), the supplied handler will be called exactly once
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -7847,7 +7806,6 @@ The socket is automatically opened if it is not already open. If the connect fai
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -7928,7 +7886,6 @@ This function is used to asynchronously receive data from the raw socket. The fu
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -7986,7 +7943,6 @@ This function is used to asynchronously receive data from the raw socket. The fu
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -8056,7 +8012,6 @@ This function is used to asynchronously receive raw data. The function call alwa
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -8114,7 +8069,6 @@ This function is used to asynchronously receive raw data. The function call alwa
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -8175,7 +8129,6 @@ This function is used to send data on the raw socket. The function call will blo
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -8233,7 +8186,6 @@ This function is used to send data on the raw socket. The function call will blo
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -8303,7 +8255,6 @@ This function is used to asynchronously send raw data to the specified remote en
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -8363,7 +8314,6 @@ This function is used to asynchronously send raw data to the specified remote en
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -11990,7 +11940,6 @@ This function is used to asynchronously read data from the serial port. The func
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes read.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -12046,7 +11995,6 @@ This function is used to asynchronously write data to the serial port. The funct
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes written.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -13623,7 +13571,6 @@ The socket is automatically opened if it is not already open. If the connect fai
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -16934,7 +16881,6 @@ This function is used to asynchronously accept a new connection into a socket. T
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -16998,7 +16944,6 @@ This function is used to asynchronously accept a new connection into a socket, a
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post(). ]]
|
||||
|
||||
@ -19352,7 +19297,6 @@ The socket is automatically opened if it is not already open. If the connect fai
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -22438,7 +22382,6 @@ The socket is automatically opened if it is not already open. If the connect fai
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -22500,7 +22443,6 @@ This function is used to asynchronously read data from the stream socket. The fu
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes read.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -22575,7 +22517,6 @@ This function is used to asynchronously receive data from the stream socket. The
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -22634,7 +22575,6 @@ This function is used to asynchronously receive data from the stream socket. The
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes received.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -22711,7 +22651,6 @@ This function is used to asynchronously send data on the stream socket. The func
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -22770,7 +22709,6 @@ This function is used to asynchronously send data on the stream socket. The func
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes sent.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -22828,7 +22766,6 @@ This function is used to asynchronously write data to the stream socket. The fun
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes written.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -31627,7 +31564,6 @@ This function is used to add a service to the io_service.
|
||||
[[svc][The service object. On success, ownership of the service object is transferred to the io\_service. When the io\_service object is destroyed, it will destroy the service object by performing:
|
||||
``
|
||||
delete static_cast<io_service::service*>(svc)
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -31673,7 +31609,6 @@ The io_service guarantees that the handler will only be called in a thread in wh
|
||||
[[handler][The handler to be called. The io\_service will make a copy of the handler object as required. The function signature of the handler must be:
|
||||
``
|
||||
void handler();
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -31929,7 +31864,6 @@ The io_service guarantees that the handler will only be called in a thread in wh
|
||||
[[handler][The handler to be called. The io\_service will make a copy of the handler object as required. The function signature of the handler must be:
|
||||
``
|
||||
void handler();
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -32172,7 +32106,6 @@ This function is used to create a new handler function object that, when invoked
|
||||
[[handler][The handler to be wrapped. The io\_service will make a copy of the handler object as required. The function signature of the handler must be:
|
||||
``
|
||||
void handler(A1 a1, ... An an);
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -32443,7 +32376,6 @@ The strand's guarantee is in addition to the guarantee provided by the underlyin
|
||||
[[handler][The handler to be called. The strand will make a copy of the handler object as required. The function signature of the handler must be:
|
||||
``
|
||||
void handler();
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -32518,7 +32450,6 @@ The strand object guarantees that handlers posted or dispatched through the stra
|
||||
[[handler][The handler to be called. The strand will make a copy of the handler object as required. The function signature of the handler must be:
|
||||
``
|
||||
void handler();
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -32577,7 +32508,6 @@ This function is used to create a new handler function object that, when invoked
|
||||
[[handler][The handler to be wrapped. The strand will make a copy of the handler object as required. The function signature of the handler must be:
|
||||
``
|
||||
void handler(A1 a1, ... An an);
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -35257,7 +35187,6 @@ This function is used to asynchronously resolve a query into a list of endpoint
|
||||
// be used to traverse the list
|
||||
// of endpoint entries.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -35303,7 +35232,6 @@ This function is used to asynchronously resolve an endpoint into a list of endpo
|
||||
// be used to traverse the list
|
||||
// of endpoint entries.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -44350,7 +44278,6 @@ This function is used to asynchronously read data from the stream descriptor. Th
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes read.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -44406,7 +44333,6 @@ This function is used to asynchronously write data to the stream descriptor. The
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes written.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -47010,7 +46936,6 @@ This operation is implemented in terms of one or more calls to the stream's read
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the stream's read\_some function are required.]]
|
||||
|
||||
@ -47090,7 +47015,6 @@ This operation is implemented in terms of one or more calls to the stream's read
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the stream's read\_some function are required.]]
|
||||
|
||||
@ -47209,7 +47133,6 @@ This operation is implemented in terms of one or more calls to the stream's read
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the stream's read\_some function are required.]]
|
||||
|
||||
@ -47275,7 +47198,6 @@ This operation is implemented in terms of one or more calls to the stream's read
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the stream's read\_some function are required.]]
|
||||
|
||||
@ -47479,7 +47401,6 @@ This operation is implemented in terms of one or more calls to the device's read
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the device's read\_some\_at function are required.]]
|
||||
|
||||
@ -47562,7 +47483,6 @@ This operation is implemented in terms of one or more calls to the device's read
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the device's read\_some\_at function are required.]]
|
||||
|
||||
@ -47687,7 +47607,6 @@ This operation is implemented in terms of one or more calls to the device's read
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the device's read\_some\_at function are required.]]
|
||||
|
||||
@ -47756,7 +47675,6 @@ This operation is implemented in terms of one or more calls to the device's read
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the read operation is complete. False indicates that further calls to the device's read\_some\_at function are required.]]
|
||||
|
||||
@ -48240,12 +48158,10 @@ This operation is implemented in terms of zero or more calls to the stream's rea
|
||||
[[match_condition][The function object to be called to determine whether a match exists. The signature of the function object must be:
|
||||
``
|
||||
pair<iterator, bool> match_condition(iterator begin, iterator end);
|
||||
|
||||
``
|
||||
where iterator represents the type:
|
||||
``
|
||||
buffers_iterator<basic_streambuf<Allocator>::const_buffers_type>
|
||||
|
||||
``
|
||||
The iterator parameters begin and end define the range of bytes to be scanned to determine whether there is a match. The first member of the return value is an iterator marking one-past-the-end of the bytes that have been consumed by the match function. This iterator is used to calculate the begin parameter for any subsequent invocation of the match condition. The second member of the return value is true if a match has been found, false otherwise.]]
|
||||
|
||||
@ -48367,12 +48283,10 @@ This operation is implemented in terms of zero or more calls to the stream's rea
|
||||
[[match_condition][The function object to be called to determine whether a match exists. The signature of the function object must be:
|
||||
``
|
||||
pair<iterator, bool> match_condition(iterator begin, iterator end);
|
||||
|
||||
``
|
||||
where iterator represents the type:
|
||||
``
|
||||
buffers_iterator<basic_streambuf<Allocator>::const_buffers_type>
|
||||
|
||||
``
|
||||
The iterator parameters begin and end define the range of bytes to be scanned to determine whether there is a match. The first member of the return value is an iterator marking one-past-the-end of the bytes that have been consumed by the match function. This iterator is used to calculate the begin parameter for any subsequent invocation of the match condition. The second member of the return value is true if a match has been found, false otherwise.]]
|
||||
|
||||
@ -51737,7 +51651,6 @@ This function is used to specify a callback function to obtain password informat
|
||||
std::size_t max_length, // The maximum size for a password.
|
||||
password_purpose purpose // Whether password is for reading or writing.
|
||||
);
|
||||
|
||||
``
|
||||
The return value of the callback is a string containing the password.]]
|
||||
|
||||
@ -51783,7 +51696,6 @@ This function is used to specify a callback function to obtain password informat
|
||||
std::size_t max_length, // The maximum size for a password.
|
||||
password_purpose purpose // Whether password is for reading or writing.
|
||||
);
|
||||
|
||||
``
|
||||
The return value of the callback is a string containing the password.]]
|
||||
|
||||
@ -53561,7 +53473,6 @@ This function is used to asynchronously perform an SSL handshake on the stream.
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation.
|
||||
);
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -53601,7 +53512,6 @@ This function is used to asynchronously read one or more bytes of data from the
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes read.
|
||||
);
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -53641,7 +53551,6 @@ This function is used to asynchronously shut down SSL on the stream. This functi
|
||||
void handler(
|
||||
const asio::error_code& error // Result of operation.
|
||||
);
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -53681,7 +53590,6 @@ This function is used to asynchronously write one or more bytes of data to the s
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes written.
|
||||
);
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -56008,7 +55916,6 @@ This constructor creates a new thread that will execute the given function or fu
|
||||
[[f][The function or function object to be run in the thread. The function signature must be:
|
||||
``
|
||||
void f();
|
||||
|
||||
``
|
||||
]]
|
||||
|
||||
@ -57205,7 +57112,6 @@ This function is used to asynchronously read data from the random-access handle.
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes read.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -57264,7 +57170,6 @@ This function is used to asynchronously write data to the random-access handle.
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes written.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -58281,7 +58186,6 @@ This function is used to asynchronously read data from the stream handle. The fu
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes read.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -58337,7 +58241,6 @@ This function is used to asynchronously write data to the stream handle. The fun
|
||||
const asio::error_code& error, // Result of operation.
|
||||
std::size_t bytes_transferred // Number of bytes written.
|
||||
);
|
||||
|
||||
``
|
||||
Regardless of whether the asynchronous operation completes immediately or not, the handler will not be invoked from within this function. Invocation of the handler will be performed in a manner equivalent to using asio::io\_service::post().]]
|
||||
|
||||
@ -60349,7 +60252,6 @@ This operation is implemented in terms of one or more calls to the stream's writ
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the stream's write\_some function are required.]]
|
||||
|
||||
@ -60429,7 +60331,6 @@ This operation is implemented in terms of one or more calls to the stream's writ
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the stream's write\_some function are required.]]
|
||||
|
||||
@ -60552,7 +60453,6 @@ This operation is implemented in terms of one or more calls to the stream's writ
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the stream's write\_some function are required.]]
|
||||
|
||||
@ -60620,7 +60520,6 @@ This operation is implemented in terms of one or more calls to the stream's writ
|
||||
std::size_t bytes_transferred // Number of bytes transferred
|
||||
// so far.
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the stream's write\_some function are required.]]
|
||||
|
||||
@ -60824,7 +60723,6 @@ This operation is implemented in terms of one or more calls to the device's writ
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the device's write\_some\_at function are required.]]
|
||||
|
||||
@ -60907,7 +60805,6 @@ This operation is implemented in terms of one or more calls to the device's writ
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the device's write\_some\_at function are required.]]
|
||||
|
||||
@ -61036,7 +60933,6 @@ This operation is implemented in terms of one or more calls to the device's writ
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the device's write\_some\_at function are required.]]
|
||||
|
||||
@ -61107,7 +61003,6 @@ This operation is implemented in terms of one or more calls to the device's writ
|
||||
// Number of bytes transferred so far.
|
||||
std::size_t bytes_transferred
|
||||
);
|
||||
|
||||
``
|
||||
A return value of true indicates that the write operation is complete. False indicates that further calls to the device's write\_some\_at function are required.]]
|
||||
|
||||
|
@ -253,7 +253,9 @@
|
||||
<xsl:text>``</xsl:text>
|
||||
<xsl:value-of select="$newline"/>
|
||||
<xsl:apply-templates mode="codeline"/>
|
||||
<xsl:if test="substring(., string-length(.)) = $newline">
|
||||
<xsl:value-of select="$newline"/>
|
||||
</xsl:if>
|
||||
<xsl:text>``</xsl:text>
|
||||
<xsl:value-of select="$newline"/>
|
||||
</xsl:template>
|
||||
|
Loading…
Reference in New Issue
Block a user