CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: laserlight

Search: Search took 0.07 seconds.

  1. Replies
    15
    Views
    15,572

    Re: STL Style function parameters?

    An inheritance hierarchy (e.g., a Task abstract base class) with polymorphism sounds like a reasonable solution.
  2. Replies
    15
    Views
    15,572

    Re: STL Style function parameters?

    The function template simply uses the object passed as if it were a function. If a function pointer is passed, then well and good. If a function object is passed, then operator() is overloaded, and...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured