1 module beard.inverse;
2 
3 /// Modifies a boolean returning meta-function C to return the inverse.
4 template inverse(alias C) {
5     template Inverter(T) { enum Inverter = ! C!T; }
6     alias Inverter inverse;
7 }
8 // vim:ts=4 sw=4