最終更新日時(UTC):
が更新

履歴 編集

class
<format>

std::basic_format_arg::operator bool(C++20)

explicit operator bool() const noexcept;           // (1) C++20
constexpr explicit operator bool() const noexcept; // (1) C++26

概要

bool型への変換演算子。

戻り値

空でない場合にtrueを返す

バージョン

言語

  • C++20

処理系

参照