io_modeMetafunction returning a mode tag corresponding the the i/o mode of a model of one of the Filter or Device concepts or of a standard stream or stream buffer.
<boost/iostreams/traits.hpp>namespace boost { namespace iostreams { template<typename T> struct io_mode { typedef see below type; }; } } // End namespace boost::io
| T | - | A Model of one of the Filter or Device concepts |
mode::typetypedef implementation-defined type;
The most-derived mode tag to which io_category<T>::type is convertible. If there is no such most-derived tag, a compile-time error occurs.
Modes assigned to standard library types are displayed in the following table. For standard streams and stream buffers, if the i/o mode shown below does not acurately reflect a particular implementation, the function template adapt may be used.
Revised 20 May, 2004
© Copyright Jonathan Turkanis, 2004
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)