Initial Course
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
|
||||
namespace cpp26 {
|
||||
|
||||
[[nodiscard]] auto compile_time_factorial(int n) -> long long;
|
||||
[[nodiscard]] auto compile_time_sum(std::array<int, 5> values) -> int;
|
||||
[[nodiscard]] auto is_sorted(std::array<int, 5> values) -> bool;
|
||||
|
||||
} // namespace cpp26
|
||||
Reference in New Issue
Block a user