diff options
Diffstat (limited to 'third_party/msgpack/include/msgpack/preprocessor/facilities/overload.hpp')
-rw-r--r-- | third_party/msgpack/include/msgpack/preprocessor/facilities/overload.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/preprocessor/facilities/overload.hpp b/third_party/msgpack/include/msgpack/preprocessor/facilities/overload.hpp new file mode 100644 index 0000000000..58d40dcf69 --- /dev/null +++ b/third_party/msgpack/include/msgpack/preprocessor/facilities/overload.hpp @@ -0,0 +1,25 @@ +# /* ************************************************************************** +# * * +# * (C) Copyright Paul Mensonides 2011. * +# * (C) Copyright Edward Diener 2011. * +# * Distributed under the Boost Software License, Version 1.0. (See * +# * accompanying file LICENSE_1_0.txt or copy at * +# * http://www.boost.org/LICENSE_1_0.txt) * +# * * +# ************************************************************************** */ +# +# /* See http://www.boost.org for most recent version. */ +# +# ifndef MSGPACK_PREPROCESSOR_FACILITIES_OVERLOAD_HPP +# define MSGPACK_PREPROCESSOR_FACILITIES_OVERLOAD_HPP +# +# include <msgpack/preprocessor/cat.hpp> +# include <msgpack/preprocessor/variadic/size.hpp> +# +# /* MSGPACK_PP_OVERLOAD */ +# +# if MSGPACK_PP_VARIADICS +# define MSGPACK_PP_OVERLOAD(prefix, ...) MSGPACK_PP_CAT(prefix, MSGPACK_PP_VARIADIC_SIZE(__VA_ARGS__)) +# endif +# +# endif |