On 24/06/16 19:26, maik klein wrote:
https://maikklein.github.io/post/cmp-rust-d/https://www.reddit.com/r/programming/comments/4po2j5/a_comparison_between_rust_and_d/
It's possible in D to collect multiple functions for one set of constraints using a template:
template Foo(T) if (is(T : int))
{
void a(T x) {}
void b(T y) {}
}
--
/Jacob Carlborg
