Created
January 11, 2017 12:05
-
-
Save picanumber/ef3db1da8addfa2a2681a78381f29211 to your computer and use it in GitHub Desktop.
Accesing the elements of a sorted view
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
template <std::size_t I> | |
decltype(auto) at(std::size_t pos) | |
{ | |
return std::get<I>(_ts)[_is[pos]]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment