SimpleKernel 1.17.0
Loading...
Searching...
No Matches
TestStaticConstructDestruct< V > Class Template Reference
Collaboration diagram for TestStaticConstructDestruct< V >:
Collaboration graph

Public Member Functions

 TestStaticConstructDestruct (unsigned int &v)
 
 ~TestStaticConstructDestruct ()
 

Private Attributes

unsigned int & _v
 

Detailed Description

template<uint32_t V>
class TestStaticConstructDestruct< V >

Definition at line 17 of file ctor_dtor_test.cpp.

Constructor & Destructor Documentation

◆ TestStaticConstructDestruct()

template<uint32_t V>
TestStaticConstructDestruct< V >::TestStaticConstructDestruct ( unsigned int &  v)
inlineexplicit

Definition at line 19 of file ctor_dtor_test.cpp.

19: _v(v) { _v |= V; }

◆ ~TestStaticConstructDestruct()

template<uint32_t V>
TestStaticConstructDestruct< V >::~TestStaticConstructDestruct ( )
inline

Definition at line 20 of file ctor_dtor_test.cpp.

20{ _v &= ~V; }

Member Data Documentation

◆ _v

template<uint32_t V>
unsigned int& TestStaticConstructDestruct< V >::_v
private

Definition at line 23 of file ctor_dtor_test.cpp.


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