/*<- Copyright (c) 2016 Barrett Adair Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ->*/ #include #include #include "test.hpp" int main() { { using f = void(); using expect = std::tuple<>; assert_same< expand_args_t, expect>(); } { using f = void(*)(); using expect = std::tuple<>; assert_same< expand_args_t, expect>(); } { using f = void(&)(); using expect = std::tuple<>; assert_same< expand_args_t, expect>(); } { using f = void(int, char); using expect = std::tuple; assert_same< expand_args_t, expect>(); } { using f = void(*)(int, char); using expect = std::tuple; assert_same< expand_args_t, expect>(); } { using f = void(&)(int, char); using expect = std::tuple; assert_same< expand_args_t, expect>(); } { auto lambda = [](int, char){}; using f = decltype(lambda); using expect = std::tuple; assert_same< expand_args_t, expect>(); } }