名前空間
変種
操作

std::floating_point

提供: cppreference.com
< cpp‎ | concepts
ヘッダ <concepts> で定義
template<class T >
concept floating_point =std::is_floating_point_v<T>;
(C++20以上)

コンセプト floating_point<T>T が浮動小数点型である場合に限り満たされます。

[編集] 関連項目

型が浮動小数点型かどうか調べます
(クラステンプレート)[edit]
close