Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / tests / Collection_Test.h
blob176fa491e51dc7e85bca322baa9a70f46406ff26
1 // -*- C++ -*-
4 //=============================================================================
5 /**
6 * @file Collection_Test.h
8 * Define class needed for generating templates.
10 * @author Irfan Pyarali <irfan@cs.wustl.edu>
12 //=============================================================================
15 #ifndef ACE_TESTS_COLLECTION_TEST_H
16 #define ACE_TESTS_COLLECTION_TEST_H
18 typedef void (*deletion_func)(void* p);
20 struct UglyThing
22 void *alloc_;
23 deletion_func dfunc_;
25 UglyThing (void* alloc = 0, deletion_func dfunc = 0);
26 bool operator== (const UglyThing& r) const;
29 #endif /* ACE_TESTS_COLLECTION_TEST_H */