]> git.proxmox.com Git - ceph.git/blob - ceph/src/Beast/test/core/handler_concepts.cpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / Beast / test / core / handler_concepts.cpp
1 //
2 // Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7
8 // Test that header file is self-contained.
9 #include <beast/core/handler_concepts.hpp>
10
11 namespace beast {
12
13 namespace {
14 struct T
15 {
16 void operator()(int);
17 };
18 }
19
20 static_assert(is_CompletionHandler<T, void(int)>::value, "");
21 static_assert(! is_CompletionHandler<T, void(void)>::value, "");
22
23 } // beast