mode_of
Metafunction returning a mode tag corresponding the the mode of a model of one of the Filter or Device concepts.
<boost/iostreams/traits.hpp>
namespace boost { namespace iostreams { template<typename T> struct mode_of { typedef see below type; }; } } // End namespace boost::io
T | - | A Model of one of the Filter or Device concepts |
mode_of::type
typedef implementation-defined type;
The most-derived mode tag to which category_of<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.
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)