counting_scope() noexcept; // (1)
counting_scope(counting_scope&&) = delete; // (2)
概要
- (1): デフォルトコンストラクタ
- (2): ムーブコンストラクタ。ムーブ不可
事後条件
(1) 説明用のメンバ変数countは0、stateはunusedとなる。
例外
投げない
バージョン
言語
- C++26
処理系
- Clang: ??
- GCC: ??
- Visual C++: ??
counting_scope() noexcept; // (1)
counting_scope(counting_scope&&) = delete; // (2)
(1) 説明用のメンバ変数countは0、stateはunusedとなる。
投げない