Last active
January 11, 2017 13:20
-
-
Save picanumber/46a99e2143537de1d1494d5a3aebfd62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct S { | |
int i; | |
S(int i) : i(i) {} | |
int size() { return 1; } | |
S(S const&) = delete; | |
S(S&&) = default; | |
}; | |
int main() | |
{ | |
S s1(1), s2(2); | |
auto sv = make_sorted_view(s1, s2, S(3)); | |
using sv_t = decltype(sv); | |
using tuple_t = sv_t::tuple_t; | |
using tuple_t = std::tuple<S&, S&, S>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment