diff -rub boost_1_45_0_old/boost/msm/back/state_machine.hpp boost_1_45_0/boost/msm/back/state_machine.hpp
old
|
new
|
|
1775 | 1775 | // the IBM compiler seems to have problems with nested classes |
1776 | 1776 | // the same seems to apply to the Apple version of gcc 4.0.1 (just in case we do for < 4.1) |
1777 | 1777 | // and also to MS VC < 8 |
1778 | | #if defined (__IBMCPP__) || (defined (__APPLE_CC__) && (__GNUC__ == 4 && __GNUC_MINOR__ < 1)) || (defined(_MSC_VER) && (_MSC_VER < 1400)) |
| 1778 | #if defined (__IBMCPP__) || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) || (defined(_MSC_VER) && (_MSC_VER < 1400)) |
1779 | 1779 | public: |
1780 | 1780 | #endif |
1781 | 1781 | template<class ContainingSM> |
… |
… |
|
1784 | 1784 | m_is_included=true; |
1785 | 1785 | ::boost::fusion::for_each(m_substate_list,add_state<ContainingSM>(this,sm)); |
1786 | 1786 | } |
1787 | | #if defined (__IBMCPP__) || (defined (__APPLE_CC__) && (__GNUC__ == 4 && __GNUC_MINOR__ < 1)) || (defined(_MSC_VER) && (_MSC_VER < 1400)) |
| 1787 | #if defined (__IBMCPP__) || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) || (defined(_MSC_VER) && (_MSC_VER < 1400)) |
1788 | 1788 | private: |
1789 | 1789 | #endif |
1790 | 1790 | // A function object for use with mpl::for_each that stuffs |
… |
… |
|
2177 | 2177 | } |
2178 | 2178 | // removes one event from the message queue and processes it |
2179 | 2179 | template <class StateType> |
2180 | | typename ::boost::disable_if<typename is_no_message_queue<StateType>::type,void >::type |
2181 | | process_message_queue(StateType*) |
| 2180 | void process_message_queue(StateType*, typename ::boost::disable_if<typename is_no_message_queue<StateType>::type,void >::type* = 0) |
2182 | 2181 | { |
2183 | 2182 | if (!m_events_queue.m_events_queue.empty()) |
2184 | 2183 | { |
… |
… |
|
2188 | 2187 | } |
2189 | 2188 | } |
2190 | 2189 | template <class StateType> |
2191 | | typename ::boost::enable_if<typename is_no_message_queue<StateType>::type,void >::type |
2192 | | process_message_queue(StateType*) |
| 2190 | void process_message_queue(StateType*, typename ::boost::enable_if<typename is_no_message_queue<StateType>::type,void >::type* = 0) |
2193 | 2191 | { |
2194 | 2192 | // nothing to process |
2195 | 2193 | } |