blob: 86a174c0fcea5872265344a91ea7de0d743e2e76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/* -*- C++ -*- */
// $Id$
// ============================================================================
//
// = LIBRARY
// netsvcs
//
// = FILENAME
// Base_Optimizer.h
//
// = AUTHOR
// Per Andersson.
//
// ============================================================================
#if !defined (BASE_OPTIMIZER_H)
#define BASE_OPTIMIZER_H
#include "ace/OS.h"
template<class Base, class Member>
struct Base_Optimizer : public Base
// = TITLE
//
// = DESCRIPTION
// Thanks to Nathan Myers and Fergus Henderson for this little beauty
{
Base_Optimizer (void);
Base_Optimizer (const Base &base);
Base_Optimizer (const Base &base, const Member &member);
Member m_;
};
#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
#include "Base_Optimizer.cpp"
#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
#pragma implementation ("Base_Optimizer.cpp")
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
#endif /* BASE_OPTIMIZER_H */
|