Initial Course
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace pointers {
|
||||
|
||||
[[nodiscard]] auto get_value(int* ptr) -> int;
|
||||
void set_value(int* ptr, int value);
|
||||
[[nodiscard]] auto is_null(const int* ptr) -> bool;
|
||||
void swap_via_pointers(int* a, int* b);
|
||||
|
||||
} // namespace pointers
|
||||
Reference in New Issue
Block a user