MCPcopy Create free account
hub / github.com/a2flo/floor / size

Method size

constexpr/const_string.hpp:54–54  ·  view source on GitHub ↗

redundant size() function for usability (note that this of course also includes \0 chars)

Source from the content-addressed store, hash-verified

52 constexpr const char* data() const { return &content.data[0]; }
53 //! redundant size() function for usability (note that this of course also includes \0 chars)
54 constexpr size_t size() const { return count; }
55
56 //! concat operator: with another const_string
57 template <size_t n> constexpr const_string<n + count - 1> operator+(const const_string<n>& str) const {

Callers 1

operator==Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected