libstdc++
GNU C++ library
Loading...
Searching...
No Matches
◆
_M_limit()
[2/2]
template<typename _CharT, typename _Traits, typename _Alloc>
size_type
std::basic_string
< _CharT, _Traits, _Alloc >::_M_limit
(
size_type
__pos
,
size_type
__off
) const
inline
private
noexcept
Definition at line
376
of file
cow_string.h
.
377
{
378
const
bool
__testoff
=
__off
< this->
size
() -
__pos
;
379
return
__testoff
?
__off
: this->
size
() -
__pos
;
380
}
std::basic_string::size
constexpr size_type size() const noexcept
Returns the number of characters in the string, not including any null-termination.
Definition
basic_string.h:1187
std::basic_string
Managing sequences of characters and character-like objects.
Definition
basic_string.h:94
std
basic_string
Generated on
for libstdc++ by
1.16.1