boostorg/qvm

Swizzling regression since Boost 1.80

federkamm opened this issue · 1 comments

The following code compiled in Boost 1.79 but fails in 1.80 and 1.82 for variable c:

#include <boost/qvm/all.hpp>
using namespace boost::qvm;
void f() {
    auto && a = diag_mat(_0X(0));
    mat<int, 2, 2> b = diag_mat(X0(0));
    mat<int, 2, 2> c = diag_mat(_0X(0));
}

Tested using https://godbolt.org: "x86_64 gcc 13.1" with no compile options and only "Libraries": Boost.

zajo commented

Thanks. Fixed on develop: fa272cb.