Skip to content

std::String::slice<Char, Traits>::raw

raw

Returns a pointer to the slice’s underlying data, essential for direct access

Signature

raw(self) -> const CharT*

Specifiers

  • constexpr
  • const
  • noexcept

Attributes

  • nodiscard

See Also

Back to slice<Char, Traits>