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

履歴 編集

function
<source_location>

std::source_location::column(C++20)

constexpr uint_least32_t column() const noexcept;

概要

source_locationオブジェクトが保持する列番号(行頭からの文字数)を返す。

戻り値

source_locationオブジェクトが保持する列番号。

例外

投げない。

実装例

constexpr uint_least32_t column() const noexcept { return column_; }

バージョン

言語

  • C++20

処理系

参照