These are chat archives for boostorg/hana
view_storageand noticed it stores a reference. Does that mean that a
That's the spirit, I need to test more.
auto tuple = hana::make_tuple(1, 2, 3); auto view = hana::make_view(tuple); // mutable view auto const ctuple = hana::make_tuple(1, 2, 3); auto cview = hana::make_view(ctuple); // view-over-const, not mutable
viewshould be a data type of its own, and you never actually create a view with something like
make_view, and then pretend it’s a normal container and use normal algorithms on it.