view: return a pair in split
A pair documents the intention a lot more closely given we have an explicit ordering of the two components.
This commit is contained in:
parent
383805af3a
commit
888d88a74d
2
view.hpp
2
view.hpp
@ -259,7 +259,7 @@ namespace cruft {
|
|||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
[[nodiscard]] constexpr std::tuple<
|
[[nodiscard]] constexpr std::pair<
|
||||||
view<BeginT,BeginT>,
|
view<BeginT,BeginT>,
|
||||||
view<BeginT,EndT>
|
view<BeginT,EndT>
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user