template<typename FirstSignature, typename... OtherSignatures>
requires
is_overload_set_v<FirstSignature, OtherSignatures...>
class mimicpp::Mock< FirstSignature, OtherSignatures >
A Mock type, which fully supports overload sets.
- Template Parameters
-
FirstSignature | The first signature. |
OtherSignatures | Other signatures. |
template<typename FirstSignature, typename... OtherSignatures>
mimicpp::Mock< FirstSignature, OtherSignatures >::Mock |
( |
const std::size_t | baseStacktraceSkip | ) |
|
|
inlineexplicitnodiscard |
Constructor, initializing the base-stacktrace-skip.
- Parameters
-
baseStacktraceSkip | The base-stacktrace-skip. |
This sets up the base-stacktrace-skip, which will be used when generating stacktraces for the invocations. This can be used, to eliminate irrelevant or noise stacktrace-entries from the top.
- Note
- This sets just the base value. Internally this value will be further increased.