Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

8.3 Using Functors

To create a functor, you

The simplest way to do this is to use a global template function to create the body, such as the rwtMakeFunctor0() function in the following example.

Example 69 shows the minimal code required for building and using a functor.

Example 69 -- Creating and using a functor


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.