各型に対する情報を取得するためのライブラリ [詳細]
#include <limits.h>
#include <float.h>
#include <limits>
#include "config/mist_conf.h"
#include "config/color.h"
#include "config/type_trait.h"
データ構造 | |
struct | mist::type_limits< T > |
入力された型の情報を取得する [詳細] |
ネームスペース | |
namespace | mist |
関数 | |
template<class T > | |
const T | mist::limits_min_max (const T &v, const T &min, const T &max) |
入力されたデータを min から max の範囲に変換する | |
template<class T > | |
const T | mist::limits_0_255 (const T &v) |
入力されたデータを 0 から 255 の範囲に変換する |
各型に対する情報を取得するためのライブラリ