Initial Course

This commit is contained in:
David Gil de Gómez Pérez
2026-08-11 17:40:36 +03:00
commit 9aed1d1d86
202 changed files with 3420 additions and 0 deletions
@@ -0,0 +1,12 @@
#pragma once
#include <memory>
#include <vector>
namespace cpp11 {
[[nodiscard]] auto make_counter(int start) -> std::unique_ptr<int>;
[[nodiscard]] auto shared_total(const std::vector<std::shared_ptr<int>>& values) -> int;
[[nodiscard]] auto clone_unique(const std::unique_ptr<int>& value) -> std::unique_ptr<int>;
} // namespace cpp11