:warning: 最大値
(functional/MAX.hpp)

Code

#pragma once
#include<algorithm>
/**
 * @brief 最大値
 */

template<typename T>
struct MAX{
    T operator()(const T& s,const T& t){
        return std::max(s,t);
    }
};
#line 2 "functional/MAX.hpp"
#include<algorithm>
/**
 * @brief 最大値
 */

template<typename T>
struct MAX{
    T operator()(const T& s,const T& t){
        return std::max(s,t);
    }
};
Back to top page