3 //=============================================================================
5 * @file Base_Optimizer.h
7 * @author Per Andersson.
9 //=============================================================================
11 #ifndef BASE_OPTIMIZER_H
12 #define BASE_OPTIMIZER_H
14 #include "ace/config-all.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 * @class Base_Optimizer
23 * Thanks to Nathan Myers and Fergus Henderson for this little
26 template<class Base
, class Member
>
27 class Base_Optimizer
: public Base
31 Base_Optimizer (void);
32 Base_Optimizer (const Base
&base
);
33 Base_Optimizer (const Base
&base
,
34 const Member
&member
);
39 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
40 #include "Base_Optimizer.cpp"
41 #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
43 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
44 #pragma implementation ("Base_Optimizer.cpp")
45 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
47 #endif /* BASE_OPTIMIZER_H */