]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/callable_traits/example/has_void_return.cpp
2 Copyright (c) 2016 Barrett Adair
4 Distributed under the Boost Software License, Version 1.0.
5 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
10 #include <boost/callable_traits/has_void_return.hpp>
12 namespace ct
= boost::callable_traits
;
14 static_assert(ct::has_void_return
<void()>::value
, "");
15 static_assert(!ct::has_void_return
<int()>::value
, "");