bsl::StringBufContainer::StringBufContainer

Constructors

Synopses

Declared in <bslstl_stringbuf.h>

Create a StringBufContainer by move-constructing from original.

StringBufContainer(StringBufContainer&& original);
» more...

Create a StringBufContainer using the specified allocator.

explicit
StringBufContainer(ALLOCATOR const& allocator);
» more...

Create a StringBufContainer with the specified mode and allocator.

StringBufContainer(
    std::ios_base::openmode modeBitMask,
    ALLOCATOR const& allocator);
» more...

Create a StringBufContainer by moving from initialString.

StringBufContainer(
    BloombergLP::bslmf::MovableRef<StringType> initialString,
    std::ios_base::openmode modeBitMask);
» more...

Create a StringBufContainer from the specified initial string.

StringBufContainer(
    StringType const& initialString,
    ALLOCATOR const& allocator);
» more...

Create a StringBufContainer by move-constructing from original.

StringBufContainer(
    StringBufContainer&& original,
    ALLOCATOR const& allocator);
» more...

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);
» more...

Create a StringBufContainer by moving from initialString.

StringBufContainer(
    BloombergLP::bslmf::MovableRef<StringType> initialString,
    std::ios_base::openmode modeBitMask,
    ALLOCATOR const& allocator);
» more...

Create a StringBufContainer from an initial string and open mode.

StringBufContainer(
    StringType const& initialString,
    std::ios_base::openmode modeBitMask,
    ALLOCATOR const& allocator);
» more...

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);
» more...

Parameters

NameDescription
originalobject from which to move-construct
allocatorallocator used to supply memory
modeBitMaskopen mode for the contained stream buffer
initialStringinitial character sequence moved into the buffer
firstbeginning of the character range
lastend of the character range