SpECTRE  2021.08.02
funcl::AssertEqual< C > Struct Template Reference

Functional that asserts that the function object C applied to the first and second arguments are equal and returns the function object C applied to the first argument. More...

#include <Functional.hpp>

Public Member Functions

template<class T >
const T & operator() (const T &t0, const T &t1) noexcept
 

Detailed Description

template<class C = Identity>
struct funcl::AssertEqual< C >

Functional that asserts that the function object C applied to the first and second arguments are equal and returns the function object C applied to the first argument.