merge from trunk

[SVN r56178]
This commit is contained in:
Joel de Guzman
2009-09-14 07:40:39 +00:00
parent ea5ea7f001
commit 2f8b91828b
22 changed files with 295 additions and 51 deletions

View File

@ -108,7 +108,7 @@ namespace boost { namespace fusion { namespace detail
template <typename It, typename F>
static bool call(It const& it, F f)
{
return false;
return true;
}
};

View File

@ -14,6 +14,7 @@
#include <boost/fusion/algorithm/transformation/filter_if.hpp>
#include <boost/fusion/algorithm/transformation/insert.hpp>
#include <boost/fusion/algorithm/transformation/insert_range.hpp>
#include <boost/fusion/algorithm/transformation/join.hpp>
#include <boost/fusion/algorithm/transformation/pop_back.hpp>
#include <boost/fusion/algorithm/transformation/pop_front.hpp>
#include <boost/fusion/algorithm/transformation/push_back.hpp>
@ -24,5 +25,6 @@
#include <boost/fusion/algorithm/transformation/replace_if.hpp>
#include <boost/fusion/algorithm/transformation/reverse.hpp>
#include <boost/fusion/algorithm/transformation/transform.hpp>
#include <boost/fusion/algorithm/transformation/zip.hpp>
#endif

View File

@ -16,7 +16,7 @@ namespace boost { namespace fusion
template <typename Sequence>
struct clear
{
typedef vector0 type;
typedef vector0<> type;
};
}
@ -24,7 +24,7 @@ namespace boost { namespace fusion
inline typename result_of::clear<Sequence const>::type
clear(Sequence const& seq)
{
return vector0();
return vector0<>();
}
}}