3rdParty/boost/1.78.0/libs/iostreams/doc/classes/char_traits.html
char_traitsThe class template boost::iostreams::char_traits is a derived class of std::char_traits which has an additional static function would_block, used to indicate that an attempt to read a character has failed because no input is currently available.
The constants WOULD_BLOCK and WWOULD_BLOCK are provided for convenience.
<boost/iostreams/char_traits.hpp>
namespaceboost {namespaceiostreams {constint[WOULD\_BLOCK](#WOULD_BLOCK);conststd::wint_t[WWOULD\_BLOCK](#WWOULD_BLOCK);template<typename[Ch](#template_params)>class[char\_traits](#template_params): public std::char_traits<Ch> {statictypenamestd::char_traits<Ch>::int_type[would\_block](#would_block_function)();
};
} } // End namespace boost::io
WOULD_BLOCKconstintWOULD_BLOCK;
The return value of char_traits<char>::would_block. Used by the function template get to indicate that no character could be returned because input was temporarily unavailable.
WWOULD_BLOCKconststd::wint_t WWOULD_BLOCK;
The return value of char_traits<wchar_t>::would_block. Used by the function template get to indicate that no character could be returned because input was temporarily unavailable.
boost::iostreams::char_traits| Ch | - | The character type |
char_traits::would_blockstatictypenamestd::char_traits<Ch>::int_type would_block();
Returns an instance of int_type used by the function template get to indicate that an attempt to read a character from a Source has failed because no input is currently available. Future attempts to read a character may succeed.
© Copyright 2008 CodeRage, LLC
© Copyright 2004-2007 Jonathan Turkanis
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)