mirror of
https://github.com/boostorg/callable_traits.git
synced 2026-01-20 16:32:19 +00:00
22 lines
509 B
C++
22 lines
509 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)
|
|
->*/
|
|
|
|
//[ push_front_args
|
|
#include <boost/callable_traits/push_front_args.hpp>
|
|
|
|
namespace ct = boost::callable_traits;
|
|
|
|
int main() {
|
|
|
|
using f = void(int, char);
|
|
using test = ct::push_front_args_t<f, long, void*>;
|
|
using expect = void(long, void*, int, char);
|
|
static_assert(std::is_same<test, expect>::value, "");
|
|
}
|
|
//]
|