Back to Arangodb

Class Template mode_of

3rdParty/boost/1.78.0/libs/iostreams/doc/classes/mode.html

3.12.9.12.1 KB
Original Source

Class Template mode_of

DescriptionHeadersReference


Description

Metafunction returning a mode tag corresponding the the mode of a model of one of the Filter or Device concepts.

Headers

<boost/iostreams/traits.hpp>

Reference

Synopsis

namespaceboost {namespaceiostreams {template<typename[T](#template_params)>structmode_of {typedefsee below[type](#type);
};

} }// End namespace boost::io

Template parameters

| T | - | A Model of one of the Filter or Device concepts |

mode_of::type

typedefimplementation-defined[type](#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.

Tcategory
Specialization of std::basic_iostream, or derived from such a specializationseekable
Specialization of std::basic_istream, or derived from such a specializationinput_seekable
Specialization of std::basic_ostream, or derived from such a specializationoutput_seekable
Specialization of std::basic_streambuf, or derived from such a specializationseekable
Specialization of std::back_insert_iterator, or derived from such a specializationoutput

© 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)