next up previous contents
Next: operator<= Up: Comparison operators Previous: operator>=

operator<

NAME operator<

PROTOTYPE

#include "CifString.h"

int CifString::operator$<$(const CifString &a, const CifString &b)

EXAMPLE

#include "CifString.h"

CifString a, b, c;

a.Copy("ab");
b.Copy("cd");

if (a<b) ...
PURPOSE

operator<(const CifString &, const CifString &) Cheks if first string is less then second.

RECEIVES

operator<(const CifString &, const CifString &)
a reference to a CifString
b reference to a CifString

RETURN VALUE

Returns 1 if the first CifStrings is less than second, otherwise 0.

REMARKS

None



Olivera Tosic
12/21/1999