Commit 6420eeff by Ian Lance Taylor

temporary add to fix file in CVS

From-SVN: r85917
parent 414adbdd
//Build don't link: //Build don't link:
#include <vector> #include <vector.h>
#include <algorithm> #include <algo.h>
template <class T> class Expr template <class T> class Expr
{ {
...@@ -14,6 +14,6 @@ inline bool compare(const Expr<T> a, const Expr<T> b){ return true; }; ...@@ -14,6 +14,6 @@ inline bool compare(const Expr<T> a, const Expr<T> b){ return true; };
int main() int main()
{ {
std::vector<int> a(3); vector<int> a(3);
std::sort( a.begin(), a.end(), compare ); // ERROR - no matching function sort( a.begin(), a.end(), compare ); // ERROR - no matching function
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment