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

Method write_null_pointer

include/fmt/printf.h:239–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 context_type& context_;
238
239 void write_null_pointer(bool is_string = false) {
240 auto s = this->specs;
241 s.set_type(presentation_type::none);
242 write_bytes<Char>(this->out, is_string ? "(null)" : "(nil)", s);
243 }
244
245 template <typename T> void write(T value) {
246 detail::write<Char>(this->out, value, this->specs, this->locale);

Callers

nothing calls this directly

Calls 1

set_typeMethod · 0.80

Tested by

no test coverage detected