]> https://gitweb.dealii.org/ - dealii.git/blob
100055c4a53d51a84b330520e3eb1d65d2945c97
[dealii.git] /
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
3     Copyright (c) 2007 Dan Marsden
4
5     Distributed under the Boost Software License, Version 1.0. (See accompanying 
6     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(BOOST_FUSION_APPLY_TRANSFORM_RESULT_02092006_1936)
9 #define BOOST_FUSION_APPLY_TRANSFORM_RESULT_02092006_1936
10
11 #include <boost/utility/result_of.hpp>
12
13 namespace boost { namespace fusion
14 {
15     struct void_;
16     
17     namespace detail
18     {
19         template <typename F>
20         struct apply_transform_result
21         {
22             template <typename T0, typename T1 = void_>
23             struct apply
24                 : boost::result_of<F(T0, T1)>
25             {};
26
27             template <typename T0>
28             struct apply<T0, void_>
29                 : boost::result_of<F(T0)>
30             {};
31         };
32     }
33 }}
34
35 #endif
36
37

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.