Files
callable_traits/example/clear_args.cpp
2016-12-10 18:25:20 -06:00

20 lines
463 B
C++

/*<-
Copyright Barrett Adair 2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
->*/
//[ clear_args
#include <boost/callable_traits/clear_args.hpp>
namespace ct = boost::callable_traits;
int main() {
using f = void(int, char);
using cleared = ct::clear_args_t<f>;
using expect = void();
static_assert(std::is_same<cleared, expect>::value, "");
}
//]