Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / SStringfwd.h
blobaaa1b5b8865573ca2086530a3fc184a1a361c515
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file SStringfwd.h
7 * Forward declarations and typedefs of ACE string types.
9 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
10 * @author Nanbor Wang <nanbor@cs.wustl.edu>
11 * @author Ossama Othman <ossama@uci.edu>
13 //=============================================================================
15 #ifndef ACE_SSTRINGFWD_H
16 #define ACE_SSTRINGFWD_H
18 #include /**/ "ace/pre.h"
20 #include "ace/Basic_Types.h" /* ACE_WCHAR_T definition */
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
28 template <class ACE_CHAR_T> class ACE_String_Base; // Forward declaration.
30 typedef ACE_WCHAR_T ACE_WSTRING_TYPE;
32 typedef ACE_String_Base<char> ACE_CString;
33 typedef ACE_String_Base<ACE_WSTRING_TYPE> ACE_WString;
35 // This allows one to use W or C String based on the Unicode
36 // setting
37 #if defined (ACE_USES_WCHAR)
38 typedef ACE_WString ACE_TString;
39 #else /* ACE_USES_WCHAR */
40 typedef ACE_CString ACE_TString;
41 #endif /* ACE_USES_WCHAR */
43 ACE_END_VERSIONED_NAMESPACE_DECL
45 #include /**/ "ace/post.h"
47 #endif /* ACE_SSTRINGFWD_H */