It is documented. Just search for `cast()` at [`cast` documentation](http://dlang.org/expression.html#CastExpression).