MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / value

Method value

unittests/catch.hpp:5731–5734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5729 class ResultValueBase : public ResultBase {
5730 public:
5731 auto value() const -> T const & {
5732 enforceOk();
5733 return m_value;
5734 }
5735
5736 protected:
5737 ResultValueBase( Type type ) : ResultBase( type ) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected