45 AssertionResult::AssertionResult(
const AssertionResult& other)
46 : success_(other.success_),
47 message_(other.message_ != nullptr
48 ? new ::std::string(*other.message_)
49 : static_cast< ::std::string*>(nullptr)) {}
52 void AssertionResult::swap(AssertionResult& other) {
54 swap(success_, other.success_);
55 swap(message_, other.message_);
60 AssertionResult negation(!success_);
61 if (message_ !=
nullptr) negation << *message_;
SACADO_INLINE_FUNCTION bool operator!(const Expr< ExprT > &expr)
AssertionResult AssertionFailure()
AssertionResult AssertionSuccess()