-
-
Save anonymous/0cc5c77b5517826511b6 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
template <typename T1, typename T2> | |
struct pair { | |
//... | |
template <typename Other1, typename Other2> constexpr | |
pair (Other1 &&o1, Other2 &&o2 ) noexcept ( | |
noexcept (first (forward<Other1>(o1 ))) && | |
noexcept (second (forward<Other2>(o2 ))) | |
): first (forward<Other1>(o1 )), second (forward<Other2>(o2 )) {} | |
//... | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment