![[C++] 연산자 오버로딩 프로토타입 & 한계](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fdfu4zG%2FbtsBUKMMLpW%2FmkyB95nsJrB09ltb3SmwrK%2Fimg.png)
👨🏻💻 programming/◽ c, c++2022. 2. 8. 00:59[C++] 연산자 오버로딩 프로토타입 & 한계
종류 연산자 프로토타입 이항 산술 연산자 operator+ operator- operator* operator/ operator% T operator■ ( const T&, const T& ) ; 단항 산술 및 비트 연산자 operator+ operator- operator~ T operator■ ( ) const ; 선행, 후행 (증가,감소) operator++ operator-- T& operator■ ( ); T& operator■ ( int ); 대입 연산자 operator = T& operator■ ( const T& ); 축약 산술 대입 연산자 operator+= operator-= operator*= operator/= operator%= T& operator■ ( const T& ); T&..