Skip to content

Fix flatVectorView() for r-values

Carsten Gräser requested to merge feature/fix-flatvectorview-with-proxies into master

Forwarding an r-value reference requires to use std::move or std::forward. Since there are explicit overloads for const and mutable references, this overload is only used for real r-values. Hence we can safely use std::move which is more instructive.

Fixes #32 (closed).

Edited by Carsten Gräser

Merge request reports