المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : operator overloading



C++ Programming
09-19-2009, 12:51 AM
Hi,

Some where I read that when we don't have the efficient size for a data type we can increase this one by using operator overloading.
For example he is saying that a integer is having 2 bytes of memory occupancy by using operator overloading he says that he can increase this memory into 4 byte. Is it really possible like in this approach.
Any one please show me the correct path for this.

sampath-padamatinti