libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ basic_string() [25/28]

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string ( initializer_list< _CharT > __l,
const _Alloc & __a = _Alloc() )
inline

Construct string from an initializer list.

Parameters
__lstd::initializer_list of characters.
__aAllocator to use (default is default allocator).

Definition at line 689 of file cow_string.h.

691 { }
_Alloc_hider _M_dataplus
static _CharT * _S_construct(_InIterator __beg, _InIterator __end, const _Alloc &__a)
constexpr iterator end() noexcept
constexpr iterator begin() noexcept
Managing sequences of characters and character-like objects.