summaryrefslogtreecommitdiff
path: root/ACE/tests/Compiler_Features_22_DLL.h
blob: a45101a21076c7d8c1f7470dc801ee9a6503329a (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

//=============================================================================
/**
 *  @file    Compiler_Features_22_DLL.h
 *
 *  Test DLL export with a template method specialization
 */
//=============================================================================

#ifndef ACE_TESTS_COMPILER_FEATURES_22_DLL_H
#define ACE_TESTS_COMPILER_FEATURES_22_DLL_H

#include /**/ "ace/pre.h"

#include "test_config.h"

#include "Compiler_Features_22_DLL_Export.h"

class A
{
public:
A () {};
};

typedef A* A_ptr;

template<typename T> inline bool is_nil (T x)
{
return x == 0;
}

template<>
bool
COMPILER_FEATURES_22_DLL_Export is_nil<> (A_ptr)
{
  return false;
}

#include /**/ "ace/post.h"

#endif /* ACE_TESTS_COMPILER_FEATURES_22_DLL_H */