next up previous contents
Next: Comparison operators Up: Operators Previous: operator+=   Contents

operator+

NAME

operator+

PROTOTYPE

#include "CifString.h"

CifString CifString::operator+(const CifString &a, const CifString &b)

EXAMPLE

#include "CifString.h"

CifString a, b, c;

a.Copy("ab");
b.Copy("cd");
c=a+b;
PURPOSE

operator+(const CifString &, const CifString &) Adds two strings together and returns the result.

RECEIVES

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

RETURN VALUE

Returns a CifString as a result of concatenation of two input CifStings.

REMARKS

None



Olivera Tosic 2002-06-12