英語版
このページの英語版を見る
core.stdcpp.array
C++のstd::arrayと相互作用するためのDヘッダファイル。
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Manu Evans
- struct
array
(T, size_t N); - C++のstd::arrayに対応するD言語。
- alias
size_type
= size_t; - alias
difference_type
= ptrdiff_t; - alias
value_type
= T; - alias
pointer
= T*; - alias
const_pointer
= const(T)*; - this(T[N]
args
...); - 可変長コンストラクタ
- void
fill
()(auto ref const(T)value
); - const @safe size_type
size
(); - alias
length
= size; - alias
opDollar
= length; - const @safe size_type
max_size
(); - const @safe bool
empty
(); - inout ref @safe inout(T)
front
(); - inout ref @safe inout(T)
back
(); - inout @safe inout(T)*
data
(); - inout ref @safe inout(T)[N]
as_array
(); - inout ref @safe inout(T)
at
(size_typei
);
Copyright © 1999-2024 by the D Language Foundation
DEEPL APIにより翻訳、ところどころ修正。
このページの最新版(英語)
このページの原文(英語)
翻訳時のdmdのバージョン: 2.108.0
ドキュメントのdmdのバージョン: 2.109.1
翻訳日付 :
HTML生成日時:
編集者: dokutoku