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:
Danny Robson 2018-10-30 15:00:48 +11:00
parent 383805af3a
commit 888d88a74d

View File

@ -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>
> >