dynamicvector.h(497): error C2338: Const-qualified type detected

Issue #151 resolved
Hartmut Kaiser created an issue

The following snippet causes a compilation error while it shouldn't:

CustomMatrix<T const, ...> cm(...);
auto r = row(cm, 0);

Anything we can do about this?

Comments (5)

  1. Klaus Iglberger

    Hi Hartmut!

    Thanks a lot for creating this issue. This is indeed an oversight on our side, which we will fix immediately. We are sorry for the inconvenience,

    Best regards,

    Klaus!

  2. Klaus Iglberger

    Commits 8772057 and f087cbc fix the problem of creating views on instances of CustomVector and CustomMatrix with const qualified element type. The fix is immediately available via cloning the Blaze repository and will be officially released in Blaze 3.3.

  3. Log in to comment