Solved: 50 - Constexpr Frontier

This commit is contained in:
2026-08-24 19:27:20 +03:00
parent e907849c57
commit 986be65d61
2 changed files with 17 additions and 20 deletions
+1 -15
View File
@@ -1,20 +1,6 @@
#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;
}
// constexpr functions should be defined in the header file
} // namespace cpp26