mirror of
https://github.com/boostorg/callable_traits.git
synced 2026-02-09 23:12:24 +00:00
20 lines
445 B
C++
20 lines
445 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)
|
|
->*/
|
|
|
|
//[ pop_back
|
|
#include <callable_traits/pop_back.hpp>
|
|
|
|
namespace ct = callable_traits;
|
|
|
|
int main() {
|
|
|
|
using f = void(*)(int, char);
|
|
using test = ct::pop_back<f>;
|
|
using expect = void(*)(int);
|
|
static_assert(std::is_same<test, expect>::value, "");
|
|
}
|
|
//]
|