Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 978 Bytes

op_constructor.md

File metadata and controls

40 lines (28 loc) · 978 Bytes

コンストラクタ

  • mdspan[meta header]
  • function[meta id-type]
  • std[meta namespace]
  • default_accessor[meta class]
  • cpp23[meta cpp]
constexpr default_accessor() noexcept = default;  // (1)

template<class OtherElementType>
constexpr default_accessor(default_accessor<OtherElementType>) noexcept;  // (2)

概要

  • (1) : デフォルトコンストラクタ
  • (2) : 他default_accessorからの変換コンストラクタ

テンプレートパラメータ制約

  • (2) : is_convertible_v<OtherElementType(*)[], element_type(*)[]>trueであること

例外

投げない

バージョン

言語

  • C++23

処理系

参照