Commit 6420eeff by Ian Lance Taylor

temporary add to fix file in CVS

From-SVN: r85917
parent 414adbdd
//Build don't link:
#include <vector>
#include <algorithm>
#include <vector.h>
#include <algo.h>
template <class T> class Expr
{
......@@ -14,6 +14,6 @@ inline bool compare(const Expr<T> a, const Expr<T> b){ return true; };
int main()
{
std::vector<int> a(3);
std::sort( a.begin(), a.end(), compare ); // ERROR - no matching function
vector<int> a(3);
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