diff --git a/include/boost/mpl/if.hpp b/include/boost/mpl/if.hpp index 1c13d9d..0ef343e 100644 --- a/include/boost/mpl/if.hpp +++ b/include/boost/mpl/if.hpp @@ -1,9 +1,11 @@ -//----------------------------------------------------------------------------- -// boost/mpl/if.hpp header file -// See http://www.boost.org for updates, documentation, and revision history. -//----------------------------------------------------------------------------- -// -// Copyright (c) 2000-02 Boost.org + +#ifndef BOOST_MPL_IF_HPP_INCLUDED +#define BOOST_MPL_IF_HPP_INCLUDED + +// + file: boost/mpl/if.hpp +// + last modified: 10/mar/03 + +// Copyright (c) 2000-03 Boost.org // // Permission to use, copy, modify, distribute and sell this software // and its documentation for any purpose is hereby granted without fee, @@ -12,9 +14,8 @@ // supporting documentation. No representations are made about the // suitability of this software for any purpose. It is provided "as is" // without express or implied warranty. - -#ifndef BOOST_MPL_IF_HPP_INCLUDED -#define BOOST_MPL_IF_HPP_INCLUDED +// +// See http://www.boost.org/libs/mpl for documentation. #include "boost/mpl/aux_/value_wknd.hpp" #include "boost/mpl/aux_/ice_cast.hpp" @@ -85,7 +86,7 @@ struct if_c { private: template struct answer { typedef T1 type; }; - template<> struct answer { typedef T2 type; }; + template<> struct answer { typedef T2 type; }; public: typedef typename answer< C_ >::type type; @@ -102,7 +103,7 @@ struct if_ { private: template struct answer { typedef T1 type; }; - template<> struct answer { typedef T2 type; }; + template<> struct answer { typedef T2 type; }; // agurt, 17/sep/02: in some situations MSVC 7.0 doesn't // handle 'answer' expression very well diff --git a/include/boost/mpl/remove_if.hpp b/include/boost/mpl/remove_if.hpp index 6575dec..5b0882b 100644 --- a/include/boost/mpl/remove_if.hpp +++ b/include/boost/mpl/remove_if.hpp @@ -1,9 +1,11 @@ -//----------------------------------------------------------------------------- -// boost mpl/remove_if.hpp header file -// See http://www.boost.org for updates, documentation, and revision history. -//----------------------------------------------------------------------------- -// -// Copyright (c) 2000-02 + +#ifndef BOOST_MPL_REMOVE_IF_HPP_INCLUDED +#define BOOST_MPL_REMOVE_IF_HPP_INCLUDED + +// + file: boost/mpl/remove_if.hpp +// + last modified: 10/mar/03 + +// Copyright (c) 2000-03 // Aleksey Gurtovoy // // Permission to use, copy, modify, distribute and sell this software @@ -13,9 +15,8 @@ // supporting documentation. No representations are made about the // suitability of this software for any purpose. It is provided "as is" // without express or implied warranty. - -#ifndef BOOST_MPL_REMOVE_IF_HPP_INCLUDED -#define BOOST_MPL_REMOVE_IF_HPP_INCLUDED +// +// See http://www.boost.org/libs/mpl for documentation. #include "boost/mpl/fold_backward.hpp" #include "boost/mpl/clear.hpp" @@ -36,7 +37,7 @@ template< typename Pred > struct remove_if_helper template< typename Sequence, typename U > struct apply { typedef typename apply_if< - typename apply1::type + typename apply1::type , identity , push_front >::type type;