Hello! I was asking in IRC if something like this:
fn cofactor(m: Matrix<T, R, C>, row, col: int) -> Matrix<T, R-1, C-1> {...} was possible. I quickly got the response that generics doesn't work with integers. So my question is, is there anyway to achieve something similar? Or would it be possible in the future to do generic instantiation based on more than just types. Thanks!
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev