carbon.templates

このモジュールは、様々なtemplateを提供します。

Members

Aliases

Identity
alias Identity(alias A) = A

自身を返します

Identity
alias Identity(A) = A
Undocumented in source.

Enums

isTemplateRange
eponymoustemplate isTemplateRange(alias tmplt)

あるテンプレートが、テンプレート版レンジかどうか判定します。

Functions

opIndexOpAssign
void opIndexOpAssign(T t, U u, I idx)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(T t, U u)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin defGlobalVariables!("foobarNhogehoge", "immutable foofoobogeNbar", ())
Undocumented in source.
__anonymous
mixin defGlobalVariables!("myonmyonNFoo", ())
Undocumented in source.
__anonymous
mixin defGlobalVariables!("momimomiNFoo", ())
Undocumented in source.

Mixin templates

defGlobalVariables
mixintemplate defGlobalVariables(A...)

大域変数を宣言定義初期化します。

Templates

ApplySameTopQualifier
template ApplySameTopQualifier(T, U)
Undocumented in source.
Lstr
template Lstr(alias str)

式を埋め込み可能な文字列リテラルを構築します

Qualifier
template Qualifier(string qual)
Undocumented in source.
TRIota
template TRIota(size_t a, size_t b)

テンプレート版レンジでの

std.range.iota
です。

TRMap
template TRMap(alias tmpl, alias TR)

テンプレート版レンジでの、

std.algorithm.map
に相当します。

ToTRange
template ToTRange(T...)

タプルをテンプレート版レンジにします。

ToTuple
template ToTuple(alias TR)

テンプレート版レンジからタプルを作ります。

TypeNuple
template TypeNuple(A...)

ある型や値をN個並べたタプルを返します

isEqualTypes
template isEqualTypes(alias A, alias B)
isEqualValues
template isEqualValues(alias A, alias B)

2つのTemplateRangeが等しいかどうか検証します。

isEquals
template isEquals(alias pred, alias A, alias B)

2つのTemplateRangeが等しいかどうか検証します。

Meta