MCPcopy Create free account
hub / github.com/fmtlib/fmt / fixed_buffer_traits

Method fixed_buffer_traits

include/fmt/base.h:1864–1864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1862
1863 public:
1864 constexpr explicit fixed_buffer_traits(size_t limit) : limit_(limit) {}
1865 constexpr auto count() const -> size_t { return count_; }
1866 FMT_CONSTEXPR auto limit(size_t size) -> size_t {
1867 size_t n = limit_ > count_ ? limit_ - count_ : 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected