MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / view

Method view

include/daxa/types.hpp:368–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366 SmallString(SmallString const & other) = default;
367 auto operator=(SmallString const & other) -> SmallString & = default;
368 [[nodiscard]] auto view() const -> std::string_view
369 {
370 return {this->m_data.data(), static_cast<usize>(this->m_size)};
371 }
372 [[nodiscard]] auto c_str() const -> char const *
373 {
374 return data();

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected