Converting BLAS-like routines from Copy-based proxies to std::shared_ptr