amap

template amap(fun...)
amap
(
Range
)
(
Range r
)
if (
isInputRange!(Unqual!Range)
)
if (
fun.length >= 1
)

Members

Functions

amap
auto amap(Range r)
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

int[] res = [ 1, 2, 3 ];
void func( int[] arr ) { res ~= arr; }
func( amap!(a=>a^^2)(res) );
assert( res == [ 1, 2, 3, 1, 4, 9 ] );

Meta