Back to Arangodb

Function Template imbue

3rdParty/boost/1.78.0/libs/iostreams/doc/functions/imbue.html

3.12.9.12.1 KB
Original Source

Function Template imbue

DescriptionHeadersReference

Description

The function template imbue is invoked automatically by the Iostreams library when the std::locale of a library stream or stream buffer is set using std::basic_ios::imbue or std::basic_streambuf::pubimbue. When the std::locale of an instance of stream_buffer or stream is set, imbue is invoked on the underlying Device; when the std::locale of a filtering_streambuf or filtering_stream is set, imbue is invoked on each Filter and Device in the underlying chain.

Headers

<boost/iostreams/detail/imbue.hpp><boost/iostreams/detail/operations.hpp>

Reference

Synopsis

namespaceboost {namespaceiostreams {template<typename[T](#template_params)>void[imbue](#semantics)(T& t,conststd::locale& loc);

} }// End namespace boost::io

Template Parameters

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

Semantics

The semantics of imbue for a Filter or Device type T depends on its category as follows:

category_of<T>::typesemantics
Convertible to streambuf_tagcalls t.pubimbue(loc)
Convertible to localizable_tag but not to streambuf_tagcalls t.imbue(loc)
otherwiseno-op

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