I've got it. You mean fact that since C++23 std::tuple::operator= return const tuple...
https://en.cppreference.com/w/cpp/utility/tuple/operator=.html
- I think we can consider a separate path for oneDPL tuple, which adds
const tuple as a return type for the operators "operator=". And a separate question here whether we got another oneDPL tuple issues.
- In this PR I added only additional one version of
operator= in context of this PR (zip_view implementation). And I did it in consistent with other signatures of "operator=".
So, I suggest a) in this PR keep the "operator=" as is, in consistent with another versions of "operator=".
b) Create an issue for oneDPL tuple regarding const return type of operators "operator=", to be consistent in C++23.
Originally posted by @MikeDvorskiy in #1877 (comment)
I've got it. You mean fact that since C++23
std::tuple::operator=returnconst tuple...https://en.cppreference.com/w/cpp/utility/tuple/operator=.html
const tupleas a return type for the operators "operator=". And a separate question here whether we got another oneDPL tuple issues.operator=in context of this PR (zip_viewimplementation). And I did it in consistent with other signatures of "operator=".So, I suggest a) in this PR keep the "operator=" as is, in consistent with another versions of "operator=".
b) Create an issue for oneDPL tuple regarding const return type of operators "operator=", to be consistent in C++23.
Originally posted by @MikeDvorskiy in #1877 (comment)