diff options
Diffstat (limited to 'boost/fusion/adapted/boost_tuple/mpl/clear.hpp')
-rw-r--r-- | boost/fusion/adapted/boost_tuple/mpl/clear.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/boost/fusion/adapted/boost_tuple/mpl/clear.hpp b/boost/fusion/adapted/boost_tuple/mpl/clear.hpp new file mode 100644 index 0000000000..1cca019c6d --- /dev/null +++ b/boost/fusion/adapted/boost_tuple/mpl/clear.hpp @@ -0,0 +1,23 @@ +/*============================================================================= + Copyright (c) 2012 Kohei Takahashi + + 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) +==============================================================================*/ +#if !defined(BOOST_FUSION_CLEAR_10172012_0100) +#define BOOST_FUSION_CLEAR_10172012_0100 + +#include <boost/mpl/identity.hpp> +#include <boost/fusion/adapted/boost_tuple/tag_of.hpp> + +namespace boost { namespace fusion { namespace detail { + + template <typename Tag> + struct clear; + + template <> + struct clear<boost_tuple_tag> : mpl::identity<boost::tuple<> > {}; + +}}} + +#endif |