diff options
author | Kevin Smith <git@kismith.co.uk> | 2013-01-12 18:41:34 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2013-01-13 10:36:26 (GMT) |
commit | f3bc816af1b0d61452de973963e453bf3b3f95a2 (patch) | |
tree | e895f8afa3580e6cff6f5ad2017d45bf147a17c2 /3rdParty/Boost/src/boost/phoenix/support/preprocessor | |
parent | 188fc285c6555eadd3c9d50ab8a94adcade78d89 (diff) | |
download | swift-f3bc816af1b0d61452de973963e453bf3b3f95a2.zip swift-f3bc816af1b0d61452de973963e453bf3b3f95a2.tar.bz2 |
Adding in the spirit Boost stuff
Change-Id: I4f127ce61667243b64081b0aa309028d5077045f
Diffstat (limited to '3rdParty/Boost/src/boost/phoenix/support/preprocessor')
-rw-r--r-- | 3rdParty/Boost/src/boost/phoenix/support/preprocessor/round.hpp | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/phoenix/support/preprocessor/round.hpp b/3rdParty/Boost/src/boost/phoenix/support/preprocessor/round.hpp new file mode 100644 index 0000000..93127e2 --- /dev/null +++ b/3rdParty/Boost/src/boost/phoenix/support/preprocessor/round.hpp @@ -0,0 +1,71 @@ +/*============================================================================= + Copyright (c) 2011 Thomas Heller + + 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) +==============================================================================*/ + +#ifndef BOOST_BOOST_PHOENIX_SUPPORT_PP_ROUND_HPP +#define BOOST_BOOST_PHOENIX_SUPPORT_PP_ROUND_HPP + +#include <boost/preprocessor/cat.hpp> +#include <boost/preprocessor/comparison/less.hpp> +#include <boost/preprocessor/control/if.hpp> + +#define BOOST_PHOENIX_PP_ROUND_UP(N) \ + BOOST_PP_CAT(BOOST_PHOENIX_PP_DO_ROUND_UP_, N)() \ +/**/ + +#define BOOST_PHOENIX_PP_DO_ROUND_UP_0() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_1() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_2() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_3() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_4() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_5() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_6() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_7() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_8() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_9() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_10() 10 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_11() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_12() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_13() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_14() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_15() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_16() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_17() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_18() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_19() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_20() 20 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_21() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_22() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_23() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_24() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_25() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_26() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_27() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_28() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_29() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_30() 30 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_31() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_32() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_33() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_34() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_35() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_36() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_37() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_38() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_39() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_40() 40 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_41() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_42() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_43() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_44() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_45() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_46() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_47() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_48() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_49() 50 +#define BOOST_PHOENIX_PP_DO_ROUND_UP_50() 50 + +#endif |