MCPcopy Create free account
hub / github.com/boost-ext/ut / enter

Method enter

example/gherkin.cpp:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15class calculator {
16 public:
17 auto enter(const T& value) -> void { values_.push_back(value); }
18 auto add() -> void {
19 result_ = std::accumulate(std::cbegin(values_), std::cend(values_), T{});
20 }

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected