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

◆ _M_replace_dispatch() [3/5]

template<typename _CharT, typename _Traits, typename _Alloc>
template<typename _InputIterator>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_dispatch ( iterator __i1,
iterator __i2,
_InputIterator __k1,
_InputIterator __k2,
__false_type  )

Definition at line 3832 of file cow_string.h.

3835 {
3836 const basic_string __s(__k1, __k2);
3837 const size_type __n1 = __i2 - __i1;
3838 _M_check_length(__n1, __s.size(), "basic_string::_M_replace_dispatch");
3840 __s.size());
3841 }
_Alloc_traits::size_type size_type
constexpr basic_string() noexcept(/*conditional */)
Default constructor creates an empty string.
constexpr size_type size() const noexcept
Returns the number of characters in the string, not including any null-termination.
constexpr void _M_data(pointer __p)
iterator _M_ibegin() const noexcept
Definition cow_string.h:343
constexpr void _M_check_length(size_type __n1, size_type __n2, const char *__s) const
basic_string & _M_replace_safe(size_type __pos1, size_type __n1, const _CharT *__s, size_type __n2)
Managing sequences of characters and character-like objects.