because this element picking mechanism for tuples looks like an instance of something generic. At least I've written almost the same just some days ago for the revised version of function-closure, where the task was to replace a stretch of type arguments in a given tuple type with a stretch of placeholder types and then to build a modified ctor, which just fills in the remaining arguments, while default constructing the placeholder types. And if we look into the GNU implementation of std::bind, they're using a similar concept (with the difference that they're building a functor object, where we use a type converter) This refactoring also integrates some generally useful bits into our standard metaprogramming helper collection |
||
|---|---|---|
| .. | ||
| clang-static-init-1.cpp | ||
| clang-static-init-2.cpp | ||
| clang-static-init.hpp | ||
| crash_gdb_jessie-2015-08.sh | ||
| DIR_INFO | ||
| SConscript | ||
| try.cpp | ||