Functionoids

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 [1][2][3]. 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.

Publication: C++ Builder Developer's Journal
Issue: Volume 8, Number 12, December 2004

Comments

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.