1 /*============================================================================= 2 Copyright (c) 2001-2006 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/container/vector/vector10.hpp> 11 12 namespace boost { namespace fusion 13 { 14 namespace result_of 15 { 16 template <typename Sequence> 17 struct clear 18 { 19 typedef vector0<> type; 20 }; 21 } 22 23 template <typename Sequence> 24 inline typename result_of::clear<Sequence const>::type clear(Sequence const &)25 clear(Sequence const& /*seq*/) 26 { 27 return vector0<>(); 28 } 29 }} 30 31 #endif 32 33