Publication: C++ Builder Developer's Journal Issue: Volume 8, Number 12, December 2004
This short 2 page article was a topic spun off from my DateTime Object series. The topic didn't fit in with the series so I created a separate article for it.
In my three part series on developing a datetime object in C++, I discussed the common types of operator overloading . In this article I'm going to discuss a lesser known operator, the parenthesis operator, more commonly known as the function-call operator. But before I do that, we'll look at the most common situation in which one might implement this operator.