Compiler which can compile c++17 lambda inheritance with parameter pack
问题 I read about the using function declaration and I wanted to compile the last example. This is : #include <iostream> template <typename... Ts> struct Overloader : Ts... { using Ts::operator()...; // exposes operator() from every base }; template <typename... T> constexpr auto make_overloader(T&&... t) { return Overloader<T...>{std::forward<T>(t)...}; } int main() { auto o = make_overloader([] (auto const& a) {std::cout << a;}, [] (float f) {std::cout << 13 << f;}); } Even if I already know and