Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
ThrowOnCopy Struct Reference

Public Member Functions

 ThrowOnCopy (int v)
 
 ThrowOnCopy (const ThrowOnCopy &other)
 
 ThrowOnCopy (ThrowOnCopy &&)=default
 
ThrowOnCopyoperator= (const ThrowOnCopy &)=default
 
ThrowOnCopyoperator= (ThrowOnCopy &&)=default
 

Public Attributes

int value
 

Static Public Attributes

static bool should_throw = false
 

Detailed Description

Definition at line 1237 of file dynliststack_test.cc.

Constructor & Destructor Documentation

◆ ThrowOnCopy() [1/3]

ThrowOnCopy::ThrowOnCopy ( int  v)
inline

Definition at line 1242 of file dynliststack_test.cc.

◆ ThrowOnCopy() [2/3]

ThrowOnCopy::ThrowOnCopy ( const ThrowOnCopy other)
inline

Definition at line 1243 of file dynliststack_test.cc.

References should_throw.

◆ ThrowOnCopy() [3/3]

ThrowOnCopy::ThrowOnCopy ( ThrowOnCopy &&  )
default

Member Function Documentation

◆ operator=() [1/2]

ThrowOnCopy & ThrowOnCopy::operator= ( const ThrowOnCopy )
default

◆ operator=() [2/2]

ThrowOnCopy & ThrowOnCopy::operator= ( ThrowOnCopy &&  )
default

Member Data Documentation

◆ should_throw

bool ThrowOnCopy::should_throw = false
static

Definition at line 1240 of file dynliststack_test.cc.

Referenced by ThrowOnCopy(), and TEST().

◆ value

int ThrowOnCopy::value

Definition at line 1239 of file dynliststack_test.cc.


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