3 //=============================================================================
5 * @file String_Base_Const.h
7 * @author Nanbor Wang <nanbor@cs.wustl.edu>
9 //=============================================================================
11 #ifndef ACE_STRING_BASE_CONST_H
12 #define ACE_STRING_BASE_CONST_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "ace/ACE_export.h"
17 #include "ace/Malloc_Base.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
26 * @class ACE_String_Base_Const
28 * @brief This class defines a constant for ACE_String_Base
29 * which originally was there to circumvent a bug in SunCC 6.0.
30 * This could be moved to ACE_String_Base but that
31 * adds a lot of footprint to the user applications which
32 * is not something we want.
34 class ACE_Export ACE_String_Base_Const
37 typedef ACE_Allocator::size_type size_type
;
39 /// Constant that denotes case where no such character position
41 static size_type
const npos
;
44 ACE_END_VERSIONED_NAMESPACE_DECL
46 #include /**/ "ace/post.h"
47 #endif /* ACE_STRING_BASE_CONST_H */