Files
cpp-course/modules/14_cpp26/src/constexpr_frontier.cpp
T

21 lines
340 B
C++
Raw Normal View History

2026-08-11 17:40:36 +03:00
#include "constexpr_frontier.hpp"
namespace cpp26 {
auto compile_time_factorial(int n) -> long long {
(void)n;
return 1;
}
auto compile_time_sum(std::array<int, 5> values) -> int {
(void)values;
return 0;
}
auto is_sorted(std::array<int, 5> values) -> bool {
(void)values;
return false;
}
} // namespace cpp26