Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsls::ProtocolTest_Dtor< BSLS_TESTIMP > Struct Template Reference

#include <bsls_protocoltest.h>

List of all members.

Public Member Functions

 ~ProtocolTest_Dtor ()

Detailed Description

template<class BSLS_TESTIMP>
struct bsls::ProtocolTest_Dtor< BSLS_TESTIMP >

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.

See Component bsls_protocoltest


Constructor & Destructor Documentation

template<class BSLS_TESTIMP >
bsls::ProtocolTest_Dtor< BSLS_TESTIMP >::~ProtocolTest_Dtor (  ) 

Destroy this object and call the markDone method, indicating that the base class's destructor was declared virtual.


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