operator +

The + operator adds a string.

Visibility
Public
Signatures
OMString operator+(const OMString& s);

OMString operator+(const char s);

OMString operator+(const char * s)

inline OMString operator+(const OMString& s1, 
   const OMString& s2)

inline OMString operator+(const OMString& s1, 
   const char * s2)

inline OMString operator+(const char* s1, 
   const OMString& s2)
Parameters for signatures 1, 2, and 3
s

The string to add

Parameters for signatures 4, 5, and 6
s1

The string to which to add string 2

s2

The string to add to string 1

Returns

The new string


Feedback