MCPcopy Create free account
hub / github.com/fmtlib/fmt / operator=

Method operator=

test/format-test.cc:1176–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1174 // Iterator used to abort the actual output.
1175 struct throwing_iterator {
1176 auto operator=(char) -> throwing_iterator& {
1177 throw std::runtime_error("aborted");
1178 return *this;
1179 }
1180 auto operator*() -> throwing_iterator& { return *this; }
1181 auto operator++() -> throwing_iterator& { return *this; }
1182 auto operator++(int) -> throwing_iterator { return *this; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected