// { dg-do assemble }
|
// { dg-do assemble }
|
// { dg-options "" }
|
// { dg-options "" }
|
// GROUPS passed old-abort
|
// GROUPS passed old-abort
|
|
|
const bool FALSE = 0;
|
const bool FALSE = 0;
|
const bool TRUE = 1;
|
const bool TRUE = 1;
|
class ListDProto {
|
class ListDProto {
|
protected:
|
protected:
|
class link;
|
class link;
|
public:
|
public:
|
ListDProto();
|
ListDProto();
|
ListDProto(const ListDProto&);
|
ListDProto(const ListDProto&);
|
virtual ~ListDProto();
|
virtual ~ListDProto();
|
void operator=(const ListDProto&);
|
void operator=(const ListDProto&);
|
unsigned length() const;
|
unsigned length() const;
|
bool empty() const;
|
bool empty() const;
|
void clear();
|
void clear();
|
void remove_head();
|
void remove_head();
|
void remove_tail();
|
void remove_tail();
|
class Vix {
|
class Vix {
|
public:
|
public:
|
Vix();
|
Vix();
|
friend int operator==(void *v, const Vix& x)
|
friend int operator==(void *v, const Vix& x)
|
{ return v == x.item; }
|
{ return v == x.item; }
|
friend int operator==(const Vix& x, void *v)
|
friend int operator==(const Vix& x, void *v)
|
{ return v == x.item; }
|
{ return v == x.item; }
|
friend int operator!=(void *v, const Vix& x)
|
friend int operator!=(void *v, const Vix& x)
|
{ return v != x.item; }
|
{ return v != x.item; }
|
friend int operator!=(const Vix& x, void *v)
|
friend int operator!=(const Vix& x, void *v)
|
{ return v != x.item; }
|
{ return v != x.item; }
|
friend int operator==(const Vix& x1, const Vix& x2)
|
friend int operator==(const Vix& x1, const Vix& x2)
|
{ return x1.owner == x2.owner && x1.item == x2.item; }
|
{ return x1.owner == x2.owner && x1.item == x2.item; }
|
friend int operator!=(const Vix& x1, const Vix& x2)
|
friend int operator!=(const Vix& x1, const Vix& x2)
|
{ return x1.owner != x2.owner || x1.item != x2.item; }
|
{ return x1.owner != x2.owner || x1.item != x2.item; }
|
bool first;
|
bool first;
|
bool last;
|
bool last;
|
protected:
|
protected:
|
friend class ListDProto;
|
friend class ListDProto;
|
Vix(const ListDProto *o, link *i);
|
Vix(const ListDProto *o, link *i);
|
const ListDProto *owner;
|
const ListDProto *owner;
|
private:
|
private:
|
link *item;
|
link *item;
|
};
|
};
|
enum Action { NORMAL, REMOVE_CURRENT };
|
enum Action { NORMAL, REMOVE_CURRENT };
|
Vix first() const;
|
Vix first() const;
|
void first(Vix& x) const;
|
void first(Vix& x) const;
|
void next(Vix& x) const;
|
void next(Vix& x) const;
|
void next(Vix& x, Action a = NORMAL);
|
void next(Vix& x, Action a = NORMAL);
|
Vix last() const;
|
Vix last() const;
|
void last(Vix& x) const;
|
void last(Vix& x) const;
|
void prev(Vix& x) const;
|
void prev(Vix& x) const;
|
void prev(Vix& x, Action a = NORMAL);
|
void prev(Vix& x, Action a = NORMAL);
|
protected:
|
protected:
|
struct link {
|
struct link {
|
link *next;
|
link *next;
|
link *prev;
|
link *prev;
|
link(link *n = 0, link *p = 0);
|
link(link *n = 0, link *p = 0);
|
virtual ~link();
|
virtual ~link();
|
private:
|
private:
|
link(const link&);
|
link(const link&);
|
void operator=(const link&);
|
void operator=(const link&);
|
};
|
};
|
unsigned count;
|
unsigned count;
|
link *list_head;
|
link *list_head;
|
link *list_tail;
|
link *list_tail;
|
virtual link *copy_item(link *old_item) const = 0;
|
virtual link *copy_item(link *old_item) const = 0;
|
void prepend(link *item);
|
void prepend(link *item);
|
void append(link *item);
|
void append(link *item);
|
void prepend(const ListDProto& proto);
|
void prepend(const ListDProto& proto);
|
void append(const ListDProto& proto);
|
void append(const ListDProto& proto);
|
void remove(link *item);
|
void remove(link *item);
|
link *ref(const Vix&) const;
|
link *ref(const Vix&) const;
|
};
|
};
|
template
|
template
|
class ListD: public ListDProto {
|
class ListD: public ListDProto {
|
public:
|
public:
|
void prepend(const T& item);
|
void prepend(const T& item);
|
void append(const T& item);
|
void append(const T& item);
|
const T& head() const;
|
const T& head() const;
|
T& head();
|
T& head();
|
void head(T& fill) const;
|
void head(T& fill) const;
|
void remove_head()
|
void remove_head()
|
{ ListDProto::remove_head(); }
|
{ ListDProto::remove_head(); }
|
void remove_head(T& fill);
|
void remove_head(T& fill);
|
const T& tail() const;
|
const T& tail() const;
|
T& tail();
|
T& tail();
|
void tail(T& fill) const;
|
void tail(T& fill) const;
|
void remove_tail()
|
void remove_tail()
|
{ ListDProto::remove_tail(); }
|
{ ListDProto::remove_tail(); }
|
void remove_tail(T& fill);
|
void remove_tail(T& fill);
|
class Vix: public ListDProto::Vix {
|
class Vix: public ListDProto::Vix {
|
public:
|
public:
|
Vix(): ListDProto::Vix()
|
Vix(): ListDProto::Vix()
|
{ }
|
{ }
|
protected:
|
protected:
|
friend class ListD;
|
friend class ListD;
|
Vix(const ListDProto::Vix& x): ListDProto::Vix(x)
|
Vix(const ListDProto::Vix& x): ListDProto::Vix(x)
|
{ }
|
{ }
|
};
|
};
|
Vix first() const
|
Vix first() const
|
{ return ListDProto::first(); };
|
{ return ListDProto::first(); };
|
void first(Vix& x) const
|
void first(Vix& x) const
|
{ ListDProto::first(x); };
|
{ ListDProto::first(x); };
|
void next(Vix& x, ListDProto::Action a = NORMAL) const
|
void next(Vix& x, ListDProto::Action a = NORMAL) const
|
{ ListDProto::next(x, a); }// { dg-error "" } .*// ERROR - .*
|
{ ListDProto::next(x, a); }// { dg-error "" } .*// ERROR - .*
|
Vix last() const
|
Vix last() const
|
{ return ListDProto::last(); }
|
{ return ListDProto::last(); }
|
void last(Vix& x) const
|
void last(Vix& x) const
|
{ return ListDProto::last(x); }
|
{ return ListDProto::last(x); }
|
void prev(Vix& x, ListDProto::Action a = NORMAL) const
|
void prev(Vix& x, ListDProto::Action a = NORMAL) const
|
{ return ListDProto::prev(x, a); }
|
{ return ListDProto::prev(x, a); }
|
protected:
|
protected:
|
struct link_item: public ListDProto::link {
|
struct link_item: public ListDProto::link {
|
T item;
|
T item;
|
link_item(const T& i): link(0, 0), item(i)
|
link_item(const T& i): link(0, 0), item(i)
|
{ }
|
{ }
|
private:
|
private:
|
link_item(const link_item&);
|
link_item(const link_item&);
|
void operator=(const link_item&);
|
void operator=(const link_item&);
|
};
|
};
|
public:
|
public:
|
T& operator()(const Vix& x)
|
T& operator()(const Vix& x)
|
{ link_item *li = (link_item *) ref(x);
|
{ link_item *li = (link_item *) ref(x);
|
return li->item; }
|
return li->item; }
|
const T& operator()(const Vix& x) const
|
const T& operator()(const Vix& x) const
|
{ link_item *li = (link_item *) ref(x);
|
{ link_item *li = (link_item *) ref(x);
|
return li->item; }
|
return li->item; }
|
private:
|
private:
|
ListDProto::link *copy_item(ListDProto::link *old_item) const;
|
ListDProto::link *copy_item(ListDProto::link *old_item) const;
|
};
|
};
|
template
|
template
|
class SetLD: private ListD {
|
class SetLD: private ListD {
|
public:
|
public:
|
SetLD();
|
SetLD();
|
SetLD(const ListD&);
|
SetLD(const ListD&);
|
void add(const T& item);
|
void add(const T& item);
|
void add(const ListD& other);
|
void add(const ListD& other);
|
void add(const SetLD& other);
|
void add(const SetLD& other);
|
void remove(const T& item);
|
void remove(const T& item);
|
bool contains(const T& item) const;
|
bool contains(const T& item) const;
|
ListD::length;
|
ListD::length;
|
ListD::empty;
|
ListD::empty;
|
ListD::clear;
|
ListD::clear;
|
typedef typename ListD::Vix Vix;
|
typedef typename ListD::Vix Vix;
|
ListD::first;
|
ListD::first;
|
ListD::next;
|
ListD::next;
|
ListD::operator();
|
ListD::operator();
|
|
|
using ListD::NORMAL;
|
using ListD::NORMAL;
|
using ListD::REMOVE_CURRENT;
|
using ListD::REMOVE_CURRENT;
|
};
|
};
|
extern "C" {
|
extern "C" {
|
extern void __eprintf (const char *, const char *, unsigned, const char *);
|
extern void __eprintf (const char *, const char *, unsigned, const char *);
|
}
|
}
|
extern "C" {
|
extern "C" {
|
extern void __eprintf (const char *, const char *, unsigned, const char *);
|
extern void __eprintf (const char *, const char *, unsigned, const char *);
|
}
|
}
|
template
|
template
|
void
|
void
|
ListD::prepend(const T& item)
|
ListD::prepend(const T& item)
|
{
|
{
|
link *newl = new link_item(item);
|
link *newl = new link_item(item);
|
ListDProto::prepend(newl);
|
ListDProto::prepend(newl);
|
}
|
}
|
template
|
template
|
void
|
void
|
ListD::append(const T& item)
|
ListD::append(const T& item)
|
{
|
{
|
link *newl = new link_item(item);
|
link *newl = new link_item(item);
|
ListDProto::append(newl);
|
ListDProto::append(newl);
|
}
|
}
|
template
|
template
|
const T&
|
const T&
|
ListD::head() const
|
ListD::head() const
|
{
|
{
|
((void) (( 0 != list_head ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 50 , "0 != list_head" ), 0) )) ;
|
((void) (( 0 != list_head ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 50 , "0 != list_head" ), 0) )) ;
|
link_item *h = (link_item *) list_head;
|
link_item *h = (link_item *) list_head;
|
return h->item;
|
return h->item;
|
}
|
}
|
template
|
template
|
T&
|
T&
|
ListD::head()
|
ListD::head()
|
{
|
{
|
((void) (( 0 != list_head ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 59 , "0 != list_head" ), 0) )) ;
|
((void) (( 0 != list_head ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 59 , "0 != list_head" ), 0) )) ;
|
link_item *h = (link_item *) list_head;
|
link_item *h = (link_item *) list_head;
|
return h->item;
|
return h->item;
|
}
|
}
|
template
|
template
|
void
|
void
|
ListD::head(T& fill) const
|
ListD::head(T& fill) const
|
{
|
{
|
((void) (( 0 != list_head ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 68 , "0 != list_head" ), 0) )) ;
|
((void) (( 0 != list_head ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 68 , "0 != list_head" ), 0) )) ;
|
link_item *h = (link_item *) list_head;
|
link_item *h = (link_item *) list_head;
|
fill = h->item;
|
fill = h->item;
|
}
|
}
|
template
|
template
|
void
|
void
|
ListD::remove_head(T& fill)
|
ListD::remove_head(T& fill)
|
{
|
{
|
head(fill);
|
head(fill);
|
remove_head();
|
remove_head();
|
}
|
}
|
template
|
template
|
const T&
|
const T&
|
ListD::tail() const
|
ListD::tail() const
|
{
|
{
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 85 , "0 != list_tail" ), 0) )) ;
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 85 , "0 != list_tail" ), 0) )) ;
|
link_item *h = (link_item *) list_tail;
|
link_item *h = (link_item *) list_tail;
|
return h->item;
|
return h->item;
|
}
|
}
|
template
|
template
|
T&
|
T&
|
ListD::tail()
|
ListD::tail()
|
{
|
{
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 94 , "0 != list_tail" ), 0) )) ;
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 94 , "0 != list_tail" ), 0) )) ;
|
link_item *h = (link_item *) list_tail;
|
link_item *h = (link_item *) list_tail;
|
return h->item;
|
return h->item;
|
}
|
}
|
template
|
template
|
void
|
void
|
ListD::tail(T& fill) const
|
ListD::tail(T& fill) const
|
{
|
{
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 103 , "0 != list_tail" ), 0) )) ;
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 103 , "0 != list_tail" ), 0) )) ;
|
link_item *h = (link_item *) list_tail;
|
link_item *h = (link_item *) list_tail;
|
fill = h->item;
|
fill = h->item;
|
}
|
}
|
template
|
template
|
void
|
void
|
ListD::remove_tail(T& fill)
|
ListD::remove_tail(T& fill)
|
{
|
{
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 112 , "0 != list_tail" ), 0) )) ;
|
((void) (( 0 != list_tail ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "/home/wbaker/work/include/templates/ListD.body.h" , 112 , "0 != list_tail" ), 0) )) ;
|
link_item *h = (link_item *) list_tail;
|
link_item *h = (link_item *) list_tail;
|
fill = h->item;
|
fill = h->item;
|
}
|
}
|
template
|
template
|
ListDProto::link *
|
ListDProto::link *
|
ListD::copy_item(ListDProto::link *old) const
|
ListD::copy_item(ListDProto::link *old) const
|
{
|
{
|
link_item *old_item = (link_item *) old;
|
link_item *old_item = (link_item *) old;
|
link_item *new_item = new link_item(old_item->item);
|
link_item *new_item = new link_item(old_item->item);
|
return new_item;
|
return new_item;
|
}
|
}
|
template
|
template
|
SetLD::SetLD():
|
SetLD::SetLD():
|
ListD()
|
ListD()
|
{ }
|
{ }
|
template
|
template
|
SetLD::SetLD(const ListD& other):
|
SetLD::SetLD(const ListD& other):
|
ListD(other)
|
ListD(other)
|
{ }
|
{ }
|
template
|
template
|
void
|
void
|
SetLD::add(const T& item)
|
SetLD::add(const T& item)
|
{
|
{
|
if ( ! contains(item) )
|
if ( ! contains(item) )
|
append(item);
|
append(item);
|
}
|
}
|
template
|
template
|
void
|
void
|
SetLD::add(const ListD& other)
|
SetLD::add(const ListD& other)
|
{
|
{
|
typename ListD::Vix x;
|
typename ListD::Vix x;
|
for (first(x); 0 != x; next(x))
|
for (first(x); 0 != x; next(x))
|
add(other(x));
|
add(other(x));
|
}
|
}
|
template
|
template
|
void
|
void
|
SetLD::add(const SetLD& other)
|
SetLD::add(const SetLD& other)
|
{
|
{
|
const ListD& lother = other;
|
const ListD& lother = other;
|
add(lother);
|
add(lother);
|
}
|
}
|
template
|
template
|
void
|
void
|
SetLD::remove(const T& item)
|
SetLD::remove(const T& item)
|
{
|
{
|
typename ListD::Action a = this->NORMAL;
|
typename ListD::Action a = this->NORMAL;
|
Vix x;
|
Vix x;
|
for (first(x); 0 != x && this->REMOVE_CURRENT != a; next(x, a))
|
for (first(x); 0 != x && this->REMOVE_CURRENT != a; next(x, a))
|
a = operator()(x) == item ? this->REMOVE_CURRENT: this->NORMAL; // { dg-error "" } .*
|
a = operator()(x) == item ? this->REMOVE_CURRENT: this->NORMAL; // { dg-error "" } .*
|
}
|
}
|
template
|
template
|
bool
|
bool
|
SetLD::contains(const T& item) const
|
SetLD::contains(const T& item) const
|
{
|
{
|
Vix x;
|
Vix x;
|
for (first(x); 0 != x; next(x)) {
|
for (first(x); 0 != x; next(x)) {
|
if (operator()(x) == item)// { dg-error "" } .*
|
if (operator()(x) == item)// { dg-error "" } .*
|
return TRUE;
|
return TRUE;
|
}
|
}
|
return FALSE;
|
return FALSE;
|
}
|
}
|
template
|
template
|
int
|
int
|
operator==(const SetLD& a, const SetLD& b)
|
operator==(const SetLD& a, const SetLD& b)
|
{
|
{
|
if (a.length() != b.length())
|
if (a.length() != b.length())
|
return FALSE;
|
return FALSE;
|
typename SetLD::Vix x;
|
typename SetLD::Vix x;
|
for (a.first(x); 0 != x; a.next(x)) {
|
for (a.first(x); 0 != x; a.next(x)) {
|
if ( ! b.contains(a(x)) )
|
if ( ! b.contains(a(x)) )
|
return FALSE;
|
return FALSE;
|
}
|
}
|
for (b.first(x); 0 != x; b.next(x)) {
|
for (b.first(x); 0 != x; b.next(x)) {
|
if ( ! a.contains(b(x)) )
|
if ( ! a.contains(b(x)) )
|
return FALSE;
|
return FALSE;
|
}
|
}
|
return TRUE;
|
return TRUE;
|
}
|
}
|
template
|
template
|
int
|
int
|
operator!=(const SetLD& a, const SetLD& b)
|
operator!=(const SetLD& a, const SetLD& b)
|
{ return ! (a == b); }
|
{ return ! (a == b); }
|
template
|
template
|
int
|
int
|
operator<=(const SetLD& a, const SetLD& b)
|
operator<=(const SetLD& a, const SetLD& b)
|
{
|
{
|
if (a.length() > b.length())
|
if (a.length() > b.length())
|
return FALSE;
|
return FALSE;
|
typename SetLD::Vix x;
|
typename SetLD::Vix x;
|
for (x=a.first(); 0 != x; a.next(x)) {
|
for (x=a.first(); 0 != x; a.next(x)) {
|
if ( ! b.contains(a(x)) )
|
if ( ! b.contains(a(x)) )
|
return FALSE;
|
return FALSE;
|
}
|
}
|
return TRUE;
|
return TRUE;
|
}
|
}
|
template
|
template
|
int
|
int
|
operator<(const SetLD& a, const SetLD& b)
|
operator<(const SetLD& a, const SetLD& b)
|
{
|
{
|
if (a.length() >= b.length())
|
if (a.length() >= b.length())
|
return FALSE;
|
return FALSE;
|
return a <= b;
|
return a <= b;
|
}
|
}
|
template
|
template
|
int
|
int
|
operator>(const SetLD& a, const SetLD& b)
|
operator>(const SetLD& a, const SetLD& b)
|
{ return ! (a <= b); }
|
{ return ! (a <= b); }
|
template
|
template
|
int
|
int
|
operator>=(const SetLD& a, const SetLD& b)
|
operator>=(const SetLD& a, const SetLD& b)
|
{ return ! (a < b); }
|
{ return ! (a < b); }
|
class String { };
|
class String { };
|
class IcaseString: public String { };
|
class IcaseString: public String { };
|
template <> class SetLD< IcaseString >: public SetLD< String > { public: SetLD (): SetLD< String >() { }; SetLD (const ::ListD< IcaseString >& other): SetLD< String >() { ::ListD< IcaseString >::Vix x; for (other.first(x); 0 != x; other.next(x)) add(other(x)); }; SetLD (const SetLD & other): SetLD< String >(other) { }; const IcaseString & operator()(const Vix& x) const { return ( IcaseString &) SetLD< String >::operator()(x); } }; typedef SetLD< String > SetLD_String_IcaseString_old_tmp99; typedef SetLD< IcaseString > SetLD_String_IcaseString_new_tmp99;
|
template <> class SetLD< IcaseString >: public SetLD< String > { public: SetLD (): SetLD< String >() { }; SetLD (const ::ListD< IcaseString >& other): SetLD< String >() { ::ListD< IcaseString >::Vix x; for (other.first(x); 0 != x; other.next(x)) add(other(x)); }; SetLD (const SetLD & other): SetLD< String >(other) { }; const IcaseString & operator()(const Vix& x) const { return ( IcaseString &) SetLD< String >::operator()(x); } }; typedef SetLD< String > SetLD_String_IcaseString_old_tmp99; typedef SetLD< IcaseString > SetLD_String_IcaseString_new_tmp99;
|
inline int operator== (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b) // { dg-message "operator==" }
|
inline int operator== (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b) // { dg-message "operator==" }
|
{
|
{
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
return operator== (oa, ob); }
|
return operator== (oa, ob); }
|
inline int operator!= (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
inline int operator!= (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
{
|
{
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
return operator!= (oa, ob); }
|
return operator!= (oa, ob); }
|
inline int operator< (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
inline int operator< (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
{
|
{
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
return operator< (oa, ob); }
|
return operator< (oa, ob); }
|
inline int operator<= (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
inline int operator<= (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
{
|
{
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
return operator<= (oa, ob); }
|
return operator<= (oa, ob); }
|
inline int operator> (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
inline int operator> (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
{
|
{
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
return operator> (oa, ob); }
|
return operator> (oa, ob); }
|
inline int operator>= (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
inline int operator>= (const SetLD_String_IcaseString_new_tmp99& a, const SetLD_String_IcaseString_new_tmp99& b)
|
{
|
{
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& oa = a;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
const SetLD_String_IcaseString_old_tmp99& ob = b;
|
return operator>= (oa, ob); }
|
return operator>= (oa, ob); }
|
typedef SetLD SLDiS;
|
typedef SetLD SLDiS;
|
static void
|
static void
|
nop(int i)
|
nop(int i)
|
{
|
{
|
SetLD x, y;
|
SetLD x, y;
|
nop(x == y);
|
nop(x == y);
|
nop(x != y);
|
nop(x != y);
|
nop(x < y);
|
nop(x < y);
|
nop(x <= y);
|
nop(x <= y);
|
nop(x > y);
|
nop(x > y);
|
nop(x >= y);
|
nop(x >= y);
|
}
|
}
|
|
|
template class SetLD;
|
template class SetLD;
|
|
|