hi
i came across this following code could some one explain whats happening with the int refCount(ie.how can an argument be passed to an int) in constructor.
i came across this following code could some one explain whats happening with the int refCount(ie.how can an argument be passed to an int) in constructor.
Code:
class SharedImage { public: SharedImage() : refCount(0){}; int refCount; };
Comment