Created
July 26, 2012 16:03
-
-
Save motonacciu/3182921 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Arg1, typename Arg2, typename Arg3, typename... Args> | |
| auto makeTree(const Arg1& arg1, const Arg2& arg2, const Arg3& arg3, const Args&... args) -> | |
| std::pair<Arg1,decltype(makeTree(arg2,arg3,args...))> | |
| { | |
| return {arg1, makeTree(arg2,arg3,args...)}; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment