Constructors
Synopses
Declared in <bslstl_stringbuf.h>
Create a StringBufContainer by move‐constructing from original.
StringBufContainer(StringBufContainer&& original);
Create a StringBufContainer using the specified allocator.
explicit
StringBufContainer(ALLOCATOR const& allocator);
Create a StringBufContainer with the specified mode and allocator.
StringBufContainer(
std::ios_base::openmode modeBitMask,
ALLOCATOR const& allocator);
Create a StringBufContainer by moving from initialString.
StringBufContainer(
BloombergLP::bslmf::MovableRef<StringType> initialString,
std::ios_base::openmode modeBitMask);
Create a StringBufContainer from the specified initial string.
StringBufContainer(
StringType const& initialString,
ALLOCATOR const& allocator);
Create a StringBufContainer by move‐constructing from original.
StringBufContainer(
StringBufContainer&& original,
ALLOCATOR const& allocator);
Create a StringBufContainer from a string‐view‐like initial value.
template<class STRING_VIEW_LIKE_TYPE>
StringBufContainer(
STRING_VIEW_LIKE_TYPE const& initialString,
std::ios_base::openmode modeBitMask);
Create a StringBufContainer by moving from initialString.
StringBufContainer(
BloombergLP::bslmf::MovableRef<StringType> initialString,
std::ios_base::openmode modeBitMask,
ALLOCATOR const& allocator);
Create a StringBufContainer from an initial string and open mode.
StringBufContainer(
StringType const& initialString,
std::ios_base::openmode modeBitMask,
ALLOCATOR const& allocator);
Create a StringBufContainer from the specified character range.
template<class STRING_ITER>
StringBufContainer(
STRING_ITER first,
STRING_ITER last,
std::ios_base::openmode modeBitMask,
ALLOCATOR const& allocator);
Parameters
Name |
Description |
original |
object from which to move‐construct |
allocator |
allocator used to supply memory |
modeBitMask |
open mode for the contained stream buffer |
initialString |
initial character sequence moved into the buffer |
first |
beginning of the character range |
last |
end of the character range |
Created with MrDocs