“謂詞特性”是一個基於型別某些特徵的布林值。C++ 為各種這些特徵提供了許多內建的“虛擬模板”(例如,std::is_floating_point<int>::value 在編譯時解析為 false)。
std::is_floating_point<int>::value
false
關於一元謂詞特性的更多資訊(包括互動式示例)