Class NonCopyable

Synopsis

#include <include/internal/catch_common.h>

class NonCopyable

Description

No description yet.

Inheritance

Decsendents: IConfig, ReusableStringStream, AutoReg, Section, Catch::Context, Session

Methods

NonCopyable
~NonCopyable

Source

Lines 36-45 in include/internal/catch_common.h.

class NonCopyable {
    NonCopyable( NonCopyable const& )              = delete;
    NonCopyable( NonCopyable && )                  = delete;
    NonCopyable& operator = ( NonCopyable const& ) = delete;
    NonCopyable& operator = ( NonCopyable && )     = delete;
protected:
    NonCopyable();
    virtual ~NonCopyable();
};





Add Discussion as Guest

Log in