MCPcopy Create free account
hub / github.com/boost-ext/te / SquareMutable

Class SquareMutable

test/te.cpp:830–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

828};
829
830struct SquareMutable {
831 int value;
832
833 void draw(std::ostream &out) {
834 out << "Square Mutable";
835 value += 1;
836 }
837};
838
839test should_support_non_owning_storage = [] {
840 const auto draw_mut = [](auto &drawable, auto &str) { drawable.draw(str); };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected