最大値
(functional/MAX.hpp)
- View this file on GitHub
- Last update: 2020-09-18 14:44:21+09:00
- Include:
#include "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);
}
};