![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
Go to the source code of this file.
Classes | |
class | MyClass |
Macros | |
#define | FUNCTION_NAME __PRETTY_FUNCTION__ |
Functions | |
void | test_which_member_function_gets_called () |
void | test_pointer_that_points_to_const_object () |
MyClass & | get_a_reference () |
void | test_get_a_reference () |
MyClass * | legal_return_value (MyClass &object) |
MyClass & | legal_return_value_again (MyClass *ptr) |
MyClass & | legal_but_suspicious (MyClass &&rvalue) |
MyClass & | legal_but_dangerous (const MyClass &const_lvalue_ref) |
int | main () |
#define FUNCTION_NAME __PRETTY_FUNCTION__ |
Definition at line 8 of file const_pointer.cpp.
MyClass & get_a_reference | ( | ) |
Definition at line 243 of file const_pointer.cpp.
Definition at line 238 of file const_pointer.cpp.
Definition at line 227 of file const_pointer.cpp.
Definition at line 233 of file const_pointer.cpp.
int main | ( | ) |
void test_get_a_reference | ( | ) |
Definition at line 217 of file const_pointer.cpp.
void test_pointer_that_points_to_const_object | ( | ) |
Definition at line 162 of file const_pointer.cpp.
void test_which_member_function_gets_called | ( | ) |