Solved: 16 - Dynamic Memory

This commit is contained in:
2026-08-15 17:04:40 +03:00
parent ec1c1f1ce7
commit 7ddd9f1bc3
2 changed files with 18 additions and 4 deletions
@@ -5,7 +5,7 @@
namespace pointers {
[[nodiscard]] auto allocate_and_fill(std::size_t count, int value) -> int*;
void deallocate(int* ptr);
void deallocate(const int* ptr);
[[nodiscard]] auto clone_array(const int* source, std::size_t count) -> int*;
} // namespace pointers