mimic++ v5
Loading...
Searching...
No Matches
mimicpp::Mock< FirstSignature, OtherSignatures > Class Template Reference

A Mock type, which fully supports overload sets. More...

#include <Mock.hpp>

Inheritance diagram for mimicpp::Mock< FirstSignature, OtherSignatures >:
[legend]
Collaboration diagram for mimicpp::Mock< FirstSignature, OtherSignatures >:
[legend]

Public Member Functions

 ~Mock ()=default
 Defaulted destructor.
 
 Mock ()
 Default constructor.
 
 Mock (const Mock &)=delete
 Deleted copy constructor.
 
Mockoperator= (const Mock &)=delete
 Deleted copy assignment operator.
 
 Mock (Mock &&)=default
 Defaulted move constructor.
 
Mockoperator= (Mock &&)=default
 Defaulted move assignment operator.
 

Detailed Description

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
FirstSignatureThe first signature.
OtherSignaturesOther signatures.

Constructor & Destructor Documentation

◆ ~Mock()

template<typename FirstSignature , typename... OtherSignatures>
mimicpp::Mock< FirstSignature, OtherSignatures >::~Mock ( )
default

Defaulted destructor.

◆ Mock() [1/3]

template<typename FirstSignature , typename... OtherSignatures>
mimicpp::Mock< FirstSignature, OtherSignatures >::Mock ( )
inlinenodiscard

Default constructor.

◆ Mock() [2/3]

template<typename FirstSignature , typename... OtherSignatures>
mimicpp::Mock< FirstSignature, OtherSignatures >::Mock ( const Mock< FirstSignature, OtherSignatures > & )
delete

Deleted copy constructor.

◆ Mock() [3/3]

template<typename FirstSignature , typename... OtherSignatures>
mimicpp::Mock< FirstSignature, OtherSignatures >::Mock ( Mock< FirstSignature, OtherSignatures > && )
nodiscarddefault

Defaulted move constructor.

Member Function Documentation

◆ operator=() [1/2]

template<typename FirstSignature , typename... OtherSignatures>
Mock & mimicpp::Mock< FirstSignature, OtherSignatures >::operator= ( const Mock< FirstSignature, OtherSignatures > & )
delete

Deleted copy assignment operator.

◆ operator=() [2/2]

template<typename FirstSignature , typename... OtherSignatures>
Mock & mimicpp::Mock< FirstSignature, OtherSignatures >::operator= ( Mock< FirstSignature, OtherSignatures > && )
default

Defaulted move assignment operator.


The documentation for this class was generated from the following file: