boost::to_string
Replaces the contents of the string s with a representation of b.
Synopsis
Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>
template<
typename Block,
typename AllocatorOrContainer,
typename StringT>
[[deprecated("use the member to_string()")]]
void
to_string(
dynamic_bitset<Block, AllocatorOrContainer> const& b,
StringT& s);
|
Deprecated: use the member to_string(). Use of this entity is allowed but discouraged. |
Description
Deprecated: use the member to_string(), which returns the string. After the call, `s == b.to_string< CharT, Traits, Alloc >(), where `CharT, Traits and Alloc` are the template arguments of the `std::basic_string StringT.
Note that, in a member function of a class derived from dynamic_bitset, an unqualified call to this function finds the member to_string() instead: qualify it, as in boost::to_string( b, s ).
Parameters
Name |
Description |
b |
The bitset of which to copy the representation. |
s |
The string in which to copy the representation. |
Created with MrDocs