ACE+TAO-7_0_8
[ACE_TAO.git] / ACE / tests / Compiler_Features_22_DLL.h
bloba7dd73aff6b2266a81ff7312d7c6ff67b694ee89
2 //=============================================================================
3 /**
4 * @file Compiler_Features_22_DLL.h
6 * Test DLL export with a template method specialization
7 */
8 //=============================================================================
10 #ifndef ACE_TESTS_COMPILER_FEATURES_22_DLL_H
11 #define ACE_TESTS_COMPILER_FEATURES_22_DLL_H
13 #include /**/ "ace/pre.h"
15 #include "test_config.h"
17 #include "Compiler_Features_22_DLL_Export.h"
19 class A
21 public:
23 A () {};
26 typedef A* A_ptr;
28 template<typename T> inline bool is_nil (T x)
30 return x == 0;
33 template<>
34 bool
35 COMPILER_FEATURES_22_DLL_Export is_nil<> (A_ptr)
37 return false;
40 #include /**/ "ace/post.h"
42 #endif /* ACE_TESTS_COMPILER_FEATURES_22_DLL_H */