final fixes
[SVN r26175]
This commit is contained in:
1 parent
65ad003b9a
commit
a009ac5eb3
57 files changed
+1552
-448
No files matched your search
@@ -15,27 +15,12 @@
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/sort_fwd.hpp>
|
||||
#include <boost/mpl/less.hpp>
|
||||
#include <boost/mpl/sequence_tag.hpp>
|
||||
#include <boost/mpl/aux_/sort_impl.hpp>
|
||||
#include <boost/mpl/aux_/na_spec.hpp>
|
||||
#include <boost/mpl/aux_/lambda_support.hpp>
|
||||
#include <boost/mpl/aux_/inserter_algorithm.hpp>
|
||||
|
||||
namespace boost { namespace mpl {
|
||||
|
||||
template <
|
||||
typename BOOST_MPL_AUX_NA_PARAM(Sequence)
|
||||
, typename Predicate = less<_,_>
|
||||
>
|
||||
struct sort
|
||||
: sort_impl< typename sequence_tag<Sequence>::type >
|
||||
::template apply< Sequence,Predicate >
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(2,sort,(Sequence,Predicate))
|
||||
};
|
||||
|
||||
BOOST_MPL_AUX_NA_SPEC(1, sort)
|
||||
BOOST_MPL_AUX_INSERTER_ALGORITHM_DEF(3, sort)
|
||||
|
||||
}}
|
||||
|
||||
|
||||
Reference in new issue
Block a user