Replicates first argument by times specified by second argument.
Example
template isBool(T) { enum isBool = is(T == bool); } static assert(allSatisfy!(isBool, staticReplicate!(bool, 2))); static assert([staticReplicate!("42", 3)] == ["42", "42", "42"]);
See Implementation
Replicates first argument by times specified by second argument.