Matcher, which can be used to disambiguate between similar overloads.
More...
#include <GeneralMatchers.hpp>
|
| template<typename U> |
| using | is_accepting = std::is_same<T, U> |
template<typename T>
class mimicpp::TypeMatcher< T >
Matcher, which can be used to disambiguate between similar overloads.
SECTION("Selecting void(int&&)")
{
mock(42);
}
SECTION("Selecting void(int const&)")
{
int constexpr i{42};
mock(i);
}
◆ is_accepting
template<typename T>
template<typename U>
◆ matches()
template<typename T>
|
|
inlinestaticnodiscardnoexcept |
The documentation for this class was generated from the following file: