Helper that verifies a protocol destructor is declared virtual.
Synopsis
Declared in <bsls_protocoltest.h>
template<class BSLS_TESTIMP>
struct ProtocolTest_Dtor
: BSLS_TESTIMP
Description
This class template is a helper protocol‐test implementation class that tests that a protocol destructor is declared virtual, which it does by calling the markDone function from its destructor. The destructor will be executed if the protocol's destructor is declared virtual and not executed otherwise. Note that the BSLS_TESTIMP template parameter is required to be a type derived from ProtocolTestImp class.
Base Classes
Name |
Description |
|
Member Functions
Name |
Description |
|
Destroy this object and call the |
Created with MrDocs