Publishing R3
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / common / boost / 1.64.0 / include / boost-1_64 / boost / fusion / algorithm / transformation / clear.hpp
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
3
4     Distributed under the Boost Software License, Version 1.0. (See accompanying 
5     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_CLEAR_09172005_1127)
8 #define FUSION_CLEAR_09172005_1127
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/vector/vector10.hpp>
12
13 namespace boost { namespace fusion
14 {
15     namespace result_of
16     {
17         template <typename Sequence>
18         struct clear
19         {
20             typedef vector0<> type;
21         };
22     }
23
24     template <typename Sequence>
25     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
26     inline typename result_of::clear<Sequence const>::type
27     clear(Sequence const& /*seq*/)
28     {
29         return vector0<>();
30     }
31 }}
32
33 #endif
34