Relative Content

Tag Archive for overload

Overloading Operators – C++

I was experimenting with new overloaded operators, I have created one void operator and another one that returns something when it’s called:

Overloading to support multiple related types (especially pointers)

Problem I was just trying to debug a set of file-manipulation routines I wrote for a program I am working on. One of them kept returning an INVALID_HANDLE error. Explanation I figured out what the problem was. It turns out that because I provided several overloads so that I could call the function with either […]

Overloading to support multiple related types (especially pointers)

Problem I was just trying to debug a set of file-manipulation routines I wrote for a program I am working on. One of them kept returning an INVALID_HANDLE error. Explanation I figured out what the problem was. It turns out that because I provided several overloads so that I could call the function with either […]