]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/local_function/include/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / local_function / include / boost / local_function / aux_ / preprocessor / traits / decl_ / set_error.hpp
CommitLineData
7c673cae
FG
1
2// Copyright (C) 2009-2012 Lorenzo Caminiti
3// Distributed under the Boost Software License, Version 1.0
4// (see accompanying file LICENSE_1_0.txt or a copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6// Home at http://www.boost.org/libs/local_function
7
8#ifndef BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_SET_ERROR_HPP_
9#define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_SET_ERROR_HPP_
10
11#include <boost/local_function/aux_/preprocessor/traits/decl_returns.hpp>
12#include <boost/local_function/aux_/preprocessor/traits/decl_params.hpp>
13#include <boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp>
14#include <boost/local_function/aux_/preprocessor/traits/decl_binds.hpp>
15
16// PUBLIC //
17
18// error: `[ERROR_message_text] EMPTY`, no ERROR_message_text if no error.
19#define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_SET_ERROR(decl_traits, error) \
20 ( /* return types */ \
21 BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_RETURNS(decl_traits) \
22 , /* params and defaults */ \
23 BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS(decl_traits) \
24 , /* const-bind names */ \
25 BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_CONST_BINDS(decl_traits) \
26 , /* const-bind `this` types */ \
27 BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_CONST_BIND_THIS_TYPES( \
28 decl_traits) \
29 , /* bind names */ \
30 BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_BINDS(decl_traits) \
31 , /* bind `this` types */ \
32 BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_BIND_THIS_TYPES(decl_traits) \
33 , /* error message (if any) */ \
34 error \
35 )
36
37#endif // #include guard
38