diff options
Diffstat (limited to 'boost/spirit/home/phoenix/core/detail/composite_info.hpp')
-rw-r--r-- | boost/spirit/home/phoenix/core/detail/composite_info.hpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/boost/spirit/home/phoenix/core/detail/composite_info.hpp b/boost/spirit/home/phoenix/core/detail/composite_info.hpp deleted file mode 100644 index 48cebea88a..0000000000 --- a/boost/spirit/home/phoenix/core/detail/composite_info.hpp +++ /dev/null @@ -1,40 +0,0 @@ -/*============================================================================= - Copyright (c) 2001-2007 Joel de Guzman - - 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 PHOENIX_CORE_DETAIL_COMPOSITE_INFO_HPP -#define PHOENIX_CORE_DETAIL_COMPOSITE_INFO_HPP - -#include <boost/mpl/if.hpp> -#include <boost/mpl/greater.hpp> -#include <boost/mpl/int.hpp> -#include <boost/spirit/home/fusion/algorithm/fold.hpp> - -namespace boost { namespace phoenix { namespace detail -{ - struct max_nesting - { - template <typename T, typename State> - struct result : - mpl::if_< - mpl::greater<typename T::nesting, State> - , typename T::nesting - , State - > - {}; - }; - - template <typename ActorTuple> - struct compute_nesting - { - typedef typename - fusion::meta::fold<ActorTuple, mpl::int_<0>, max_nesting>::type - type; - }; - -}}} - -#endif - |