Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 981 Bytes

File metadata and controls

40 lines (31 loc) · 981 Bytes

line

  • source_location[meta header]
  • function[meta id-type]
  • std[meta namespace]
  • source_location[meta class]
  • cpp20[meta cpp]
constexpr uint_least32_t line() const noexcept;
  • uint_least32_t[link /reference/cstdint/uint_least32_t.md]

概要

source_locationオブジェクトが保持する行番号を返す。

戻り値

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

例外

投げない。

実装例

constexpr uint_least32_t line() const noexcept { return line_; }
  • uint_least32_t[link /reference/cstdint/uint_least32_t.md]

バージョン

言語

  • C++20

処理系

参照