C++ Library Extensions 2022.12.09
To help learn modern C++ programming
MyClass Class Reference

Public Member Functions

return_t pro (int a, int b)
 
 MyClass ()=default
 
int & get_data ()
 
const int & get_data () const
 
int get_data (int offset) const
 
 ~MyClass ()
 

Static Public Member Functions

static return_t square (int a)
 

Detailed Description

Definition at line 17 of file 010-thread_func.cpp.

Constructor & Destructor Documentation

◆ MyClass()

MyClass::MyClass ( )
default

◆ ~MyClass()

MyClass::~MyClass ( )
inline

Definition at line 145 of file const_pointer.cpp.

Member Function Documentation

◆ get_data() [1/3]

int & MyClass::get_data ( )
inline

Definition at line 110 of file const_pointer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_data() [2/3]

const int & MyClass::get_data ( ) const
inline

Definition at line 120 of file const_pointer.cpp.

Here is the call graph for this function:

◆ get_data() [3/3]

int MyClass::get_data ( int  offset) const
inline

Definition at line 137 of file const_pointer.cpp.

◆ pro()

return_t MyClass::pro ( int  a,
int  b 
)
inline

Definition at line 22 of file 010-thread_func.cpp.

Here is the caller graph for this function:

◆ square()

static return_t MyClass::square ( int  a)
inlinestatic

Definition at line 32 of file 010-thread_func.cpp.


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