¡@

Home 

c++ Programming Glossary: boost_pp_cat

Is there a way to write make_unique() in VS2012?

http://stackoverflow.com/questions/12547983/is-there-a-way-to-write-make-unique-in-vs2012

N typename A #define MAKE_UNIQUE_FUNCTION_PARM J I D BOOST_PP_CAT A I BOOST_PP_CAT a I #define MAKE_UNIQUE_FUNCTION_PARMS BOOST_PP_ENUM.. A #define MAKE_UNIQUE_FUNCTION_PARM J I D BOOST_PP_CAT A I BOOST_PP_CAT a I #define MAKE_UNIQUE_FUNCTION_PARMS BOOST_PP_ENUM N MAKE_UNIQUE_FUNCTION_PARM.. BOOST_PP_EMPTY #define MAKE_UNIQUE_ARG J I D std forward BOOST_PP_CAT A I BOOST_PP_CAT a I #define MAKE_UNIQUE_ARGS BOOST_PP_ENUM..

CUDA: NVCC gives controlling expression is constant warning on assert

http://stackoverflow.com/questions/1712713/cuda-nvcc-gives-controlling-expression-is-constant-warning-on-assert

macros as arguments to preprocessor directives

http://stackoverflow.com/questions/1736654/macros-as-arguments-to-preprocessor-directives

stringize.hpp #define INC_LOCAL a b BOOST_PP_STRINGIZE BOOST_PP_CAT BOOST_PP_CAT a b .h #define INC_GLOBAL a b BOOST_PP_CAT BOOST_PP_CAT.. #define INC_LOCAL a b BOOST_PP_STRINGIZE BOOST_PP_CAT BOOST_PP_CAT a b .h #define INC_GLOBAL a b BOOST_PP_CAT BOOST_PP_CAT a BOOST_PP_CAT.. BOOST_PP_CAT BOOST_PP_CAT a b .h #define INC_GLOBAL a b BOOST_PP_CAT BOOST_PP_CAT a BOOST_PP_CAT b #include INC_LOCAL loc al #include..

Is it possible to define enumalpha?

http://stackoverflow.com/questions/2571816/is-it-possible-to-define-enumalpha

#define DEFINE_ENUM_VAL_TO_STR r data elem case BOOST_PP_CAT data BOOST_PP_CAT elem return out BOOST_PP_STRINGIZE elem #define.. DEFINE_ENUM_VAL_TO_STR r data elem case BOOST_PP_CAT data BOOST_PP_CAT elem return out BOOST_PP_STRINGIZE elem #define DEFINE_ENUM_STR_TO_VAL.. r data elem if s BOOST_PP_STRINGIZE elem i BOOST_PP_CAT data BOOST_PP_CAT elem else #define DEFINE_ENUM Name Values..

What is the simplest way to create and call dynamically a class method in C++?

http://stackoverflow.com/questions/405432/what-is-the-simplest-way-to-create-and-call-dynamically-a-class-method-in-c

prints _2 if n is 0 #define PLACEHOLDER_print z n unused BOOST_PP_CAT _ BOOST_PP_ADD n 2 #define GET_print z n unused template..

Any metaprogramming way to generate overloads for various numbers of template parameters?

http://stackoverflow.com/questions/5475046/any-metaprogramming-way-to-generate-overloads-for-various-numbers-of-template-pa

FOO_NUM_ARGS class T #define FOO_PARAM J I D BOOST_PP_CAT T I BOOST_PP_CAT a I #define FOO_PARAMS BOOST_PP_ENUM FOO_NUM_ARGS.. class T #define FOO_PARAM J I D BOOST_PP_CAT T I BOOST_PP_CAT a I #define FOO_PARAMS BOOST_PP_ENUM FOO_NUM_ARGS FOO_PARAM..