summaryrefslogtreecommitdiff
path: root/tests/Unbounded_Set_Test_Ex.h
blob: 1987bd7feaaa766dca5d15b8ab265a90845dbee0 (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
// $Id$

// ============================================================================
//
// = LIBRARY
//    tests
//
// = FILENAME
//    Unbounded_Set_Test_Ex.h
//
// = DESCRIPTION
//    This class gets its own header file to work around AIX C++
//    compiler "features" related to template instantiation...  It is
//    only used by Unbounded_Set_Test_Ex.cpp.
//
// = AUTHOR
//      Oliver Kellogg <Oliver.Kellogg@sysde.eads.net>
//
// ============================================================================

#ifndef ACE_TESTS_UNBOUNDED_SET_TEST_EX_H
#define ACE_TESTS_UNBOUNDED_SET_TEST_EX_H

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

struct MyNode
{
  unsigned k;
  MyNode () : k (0) {}
  MyNode (int pk) : k (pk) {}
  MyNode (const MyNode& o) : k (o.k) {}
  bool operator== (const MyNode& o) { return (k == o.k); }
};

#endif /* ACE_TESTS_UNBOUNDED_SET_TEST_EX_H */