fix max and range

This commit is contained in:
2025-03-27 21:57:43 +03:00
parent ec0a6d523f
commit ab0334300e
4 changed files with 26 additions and 25 deletions

View File

@@ -3,7 +3,7 @@
#include <type_traits>
#include <algorithm>
namespace hack::mt::algorithms
namespace hack::math
{
// std::common_type_t - делает сравнение по правилу тенарного оператора
// и выводит низводящий возвращающий тип. Т.е. если в качестве одного из

View File

@@ -2,7 +2,7 @@
#include <algorithm>
namespace hack::mt::algorithms
namespace hack::range
{
// общая сортировка диапозонов, у кого-то есть своя локалная сортировка, а у кого-то
// нет. А тут чтоб не реализовывать, есть общая.

View File

@@ -8,8 +8,9 @@ headers = [
'hack/logger/logger.hpp',
'hack/mt/algorithms/max.hpp',
'hack/mt/algorithms/sort.hpp',
'hack/math/max.hpp',
'hack/range/sort.hpp',
'hack/patterns/ring_buffer.hpp',