MCPcopy Create free account
hub / github.com/apache/trafficserver / BasicResult

Method BasicResult

lib/catch2/catch.hpp:9001–9006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8999 public:
9000 template<typename U>
9001 explicit BasicResult( BasicResult<U> const &other )
9002 : ResultValueBase<T>( other.type() ),
9003 m_errorMessage( other.errorMessage() )
9004 {
9005 assert( type() != ResultBase::Ok );
9006 }
9007
9008 template<typename U>
9009 static auto ok( U const &value ) -> BasicResult { return { ResultBase::Ok, value }; }

Callers

nothing calls this directly

Calls 3

errorMessageMethod · 0.80
typeClass · 0.70
typeMethod · 0.45

Tested by

no test coverage detected