stribog.meta.filter

Members

Aliases

staticFilter2
alias staticFilter2(alias F, T...) = staticFilterN!(2, F, T)

Alias of staticFilterN for 2 arguments

staticFilter3
alias staticFilter3(alias F, T...) = staticFilterN!(3, F, T)

Alias of staticFilterN for 3 arguments

staticFilter4
alias staticFilter4(alias F, T...) = staticFilterN!(4, F, T)

Alias of staticFilterN for 4 arguments

staticFilter5
alias staticFilter5(alias F, T...) = staticFilterN!(5, F, T)

Alias of staticFilterN for 5 arguments

staticFilter6
alias staticFilter6(alias F, T...) = staticFilterN!(6, F, T)

Alias of staticFilterN for 6 arguments

staticFilter7
alias staticFilter7(alias F, T...) = staticFilterN!(7, F, T)

Alias of staticFilterN for 7 arguments

staticFilter8
alias staticFilter8(alias F, T...) = staticFilterN!(8, F, T)

Alias of staticFilterN for 8 arguments

staticFilter9
alias staticFilter9(alias F, T...) = staticFilterN!(9, F, T)

Alias of staticFilterN for 9 arguments

staticFilterLookahead
alias staticFilterLookahead(alias F, T...) = staticFilterLookaheadN!(1, F, T)

Alias of staticFilterLookaheadN for 1 argument

staticFilterLookahead2
alias staticFilterLookahead2(alias F, T...) = staticFilterLookaheadN!(2, F, T)

Alias of staticFilterLookaheadN for 2 arguments

staticFilterLookahead3
alias staticFilterLookahead3(alias F, T...) = staticFilterLookaheadN!(3, F, T)

Alias of staticFilterLookaheadN for 3 arguments

staticFilterLookahead4
alias staticFilterLookahead4(alias F, T...) = staticFilterLookaheadN!(4, F, T)

Alias of staticFilterLookaheadN for 4 arguments

staticFilterLookahead5
alias staticFilterLookahead5(alias F, T...) = staticFilterLookaheadN!(5, F, T)

Alias of staticFilterLookaheadN for 5 arguments

staticFilterLookahead6
alias staticFilterLookahead6(alias F, T...) = staticFilterLookaheadN!(6, F, T)

Alias of staticFilterLookaheadN for 6 arguments

staticFilterLookahead7
alias staticFilterLookahead7(alias F, T...) = staticFilterLookaheadN!(7, F, T)

Alias of staticFilterLookaheadN for 7 arguments

staticFilterLookahead8
alias staticFilterLookahead8(alias F, T...) = staticFilterLookaheadN!(8, F, T)

Alias of staticFilterLookaheadN for 8 arguments

staticFilterLookahead9
alias staticFilterLookahead9(alias F, T...) = staticFilterLookaheadN!(9, F, T)

Alias of staticFilterLookaheadN for 9 arguments

staticFilterLookbehind
alias staticFilterLookbehind(alias F, T...) = staticFilterLookbehindN!(1, F, T)

Alias of staticFilterLookbehindN for 1 argument

staticFilterLookbehind2
alias staticFilterLookbehind2(alias F, T...) = staticFilterLookbehindN!(2, F, T)

Alias of staticFilterLookbehindN for 2 arguments

staticFilterLookbehind3
alias staticFilterLookbehind3(alias F, T...) = staticFilterLookbehindN!(3, F, T)

Alias of staticFilterLookbehindN for 3 arguments

staticFilterLookbehind4
alias staticFilterLookbehind4(alias F, T...) = staticFilterLookbehindN!(4, F, T)

Alias of staticFilterLookbehindN for 4 arguments

staticFilterLookbehind5
alias staticFilterLookbehind5(alias F, T...) = staticFilterLookbehindN!(5, F, T)

Alias of staticFilterLookbehindN for 5 arguments

staticFilterLookbehind6
alias staticFilterLookbehind6(alias F, T...) = staticFilterLookbehindN!(6, F, T)

Alias of staticFilterLookbehindN for 6 arguments

staticFilterLookbehind7
alias staticFilterLookbehind7(alias F, T...) = staticFilterLookbehindN!(7, F, T)

Alias of staticFilterLookbehindN for 7 arguments

staticFilterLookbehind8
alias staticFilterLookbehind8(alias F, T...) = staticFilterLookbehindN!(8, F, T)

Alias of staticFilterLookbehindN for 8 arguments

staticFilterLookbehind9
alias staticFilterLookbehind9(alias F, T...) = staticFilterLookbehindN!(9, F, T)

Alias of staticFilterLookbehindN for 9 arguments

Templates

staticFilter
template staticFilter(alias F, T...)

Performs filtering of expression tuple T one by one by function or template F. If F returns true the resulted element goes to returned expression tuple, else it is discarded.

staticFilterLookaheadN
template staticFilterLookaheadN(size_t i, alias F, T...)

Performs filtering of expression tuple T passing i elements to function or template F. If F returns true the first element go to returned expression tuple and "window" is moved over T by 1 element. Last i-1 elements goes to resulted tuple without checks.

staticFilterLookbehindN
template staticFilterLookbehindN(size_t i, alias F, T...)

Performs filtering of expression tuple T passing i elements to function or template F. If F returns true the last element go to returned expression tuple and "window" is moved behind T by 1 element. First i-1 elements goes to resulted tuple without checks.

staticFilterN
template staticFilterN(size_t i, alias F, T...)

Performs filtering of expression tuple T passing i elements to function or template F. If F returns true the resulted elements go to returned expression tuple, else it is discarded.

Meta

License

Subject to the terms of the Boost 1.0 license as specified in LICENSE file

Authors

Anton Gushcha <ncrashed@gmail.com>

Template filters - extension of std.typecons;