Go to the documentation of this file.
15 #ifdef FRAMEWORK_NO_BOOST
16 #error "Not implemented"
23 #include <boost/preprocessor/config/limits.hpp>
24 #include <boost/preprocessor/repetition/repeat.hpp>
25 #include <boost/preprocessor/punctuation/comma_if.hpp>
26 #include <boost/preprocessor/iteration/local.hpp>
31 #ifndef FRAMEWORK_PROTOCOL_BUFFERS_SWITCH_LIMIT
37 #define FRAMEWORK_PROTOCOL_BUFFERS_SWITCH_LIMIT 40
39 #if FRAMEWORK_VARIADIC_SWITCH_LIMIT > BOOST_PP_LIMIT_REPEAT
40 #error "Variadic switch limit cannot exceed BOOST_PP_LIMIT_REPEAT"
44 #if FRAMEWORK_PROTOCOL_BUFFERS_SWITCH_LIMIT <= 0
45 #error "Invalid variadic switch limit"
50 namespace protocol_buffers
54 template <
typename RequiredPack,
typename SwitchPack>
55 struct message_switch;
60 #include <framework/protocol_buffers/message_switch.inl>