Line | |
---|
1 |
|
---|
2 | #ifndef BOOST_MPL_MAP_AUX_CLEAR_IMPL_HPP_INCLUDED
|
---|
3 | #define BOOST_MPL_MAP_AUX_CLEAR_IMPL_HPP_INCLUDED
|
---|
4 |
|
---|
5 | // Copyright Aleksey Gurtovoy 2003-2004
|
---|
6 | // Copyright David Abrahams 2003-2004
|
---|
7 | //
|
---|
8 | // Distributed under the Boost Software License, Version 1.0.
|
---|
9 | // (See accompanying file LICENSE_1_0.txt or copy at
|
---|
10 | // http://www.boost.org/LICENSE_1_0.txt)
|
---|
11 | //
|
---|
12 | // See http://www.boost.org/libs/mpl for documentation.
|
---|
13 |
|
---|
14 | // $Source: /cvsroot/boost/boost/boost/mpl/map/aux_/clear_impl.hpp,v $
|
---|
15 | // $Date: 2004/09/02 15:41:00 $
|
---|
16 | // $Revision: 1.2 $
|
---|
17 |
|
---|
18 | #include <boost/mpl/clear_fwd.hpp>
|
---|
19 | #include <boost/mpl/map/aux_/map0.hpp>
|
---|
20 | #include <boost/mpl/map/aux_/tag.hpp>
|
---|
21 |
|
---|
22 | namespace boost { namespace mpl {
|
---|
23 |
|
---|
24 | template<>
|
---|
25 | struct clear_impl< aux::map_tag >
|
---|
26 | {
|
---|
27 | template< typename Map > struct apply
|
---|
28 | {
|
---|
29 | typedef map0<> type;
|
---|
30 | };
|
---|
31 | };
|
---|
32 |
|
---|
33 | }}
|
---|
34 |
|
---|
35 | #endif // BOOST_MPL_MAP_AUX_CLEAR_IMPL_HPP_INCLUDED
|
---|
Note: See
TracBrowser
for help on using the repository browser.