Const-ref arguments, std::vectors instead of pointer-based arrays.