summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/algorithmfwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/algorithmfwd.h')
-rw-r--r--libstdc++-v3/include/bits/algorithmfwd.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/algorithmfwd.h b/libstdc++-v3/include/bits/algorithmfwd.h
index 9fad4cea47c..fd5dbb211e1 100644
--- a/libstdc++-v3/include/bits/algorithmfwd.h
+++ b/libstdc++-v3/include/bits/algorithmfwd.h
@@ -1,6 +1,6 @@
// <algorithm> declarations -*- C++ -*-
-// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -301,6 +301,15 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
bool
is_partitioned(_IIter, _IIter, _Predicate);
+ template<typename _FIter1, typename _FIter2>
+ bool
+ is_permutation(_FIter1, _FIter1, _FIter2);
+
+ template<typename _FIter1, typename _FIter2,
+ typename _BinaryPredicate>
+ bool
+ is_permutation(_FIter1, _FIter1, _FIter2, _BinaryPredicate);
+
template<typename _FIter>
bool
is_sorted(_FIter, _FIter);
OpenPOWER on IntegriCloud