Home » U++ Library support » U++ Core » stl-compatibility
Re: stl-compatibility [message #39720 is a reply to message #39674] |
Sat, 20 April 2013 18:59 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
It should be now fixed, except Segtor, which is totally obsolete...
This now compiles:
#include <Core/Core.h>
using namespace Upp;
template <class T>
void Check()
{
T a;
std::includes(a.begin(), a.end(), a.begin(), a.end());
const T& b = a;
std::includes(b.begin(), b.end(), b.begin(), b.end());
}
CONSOLE_APP_MAIN
{
Check< Vector<int> > ();
Check< Array<int> > ();
Check< BiVector<int> > ();
Check< BiArray<int> > ();
Check< Index<int> > ();
Check< ArrayIndex<int> > ();
Check< VectorMap<int, int> > ();
Check< ArrayMap<int, int> > ();
Check< InVector<int> > ();
Check< InArray<int> > ();
Check< SortedIndex<int> > ();
Check< SortedVectorMap<int, int> > ();
Check< SortedArrayMap<int, int> > ();
}
|
|
|
Goto Forum:
Current Time: Sat May 18 04:12:59 CEST 2024
Total time taken to generate the page: 0.01964 seconds
|