operator +

+ 연산자는 문자열을 추가합니다.

가시성
Public
시그니처
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)
시그니처 1, 2 및 3의 매개변수
s

추가할 문자열입니다.

시그니처 4, 5 및 6의 매개변수
s1

문자열 2를 추가할 문자열입니다.

s2

문자열 1을 추가할 문자열입니다.

리턴값

새 문자열입니다.


피드백