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 */
24 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @class ACE_String_Base_Const
29 * @brief This class defines a constant for ACE_String_Base
30 * which originally was there to circumvent a bug in SunCC 6.0.
31 * This could be moved to ACE_String_Base but that
32 * adds a lot of footprint to the user applications which
33 * is not something we want.
35 class ACE_Export ACE_String_Base_Const
39 typedef ACE_Allocator::size_type size_type
;
41 /// Constant that denotes case where no such character position
43 static size_type
const npos
;
47 ACE_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
50 #endif /* ACE_STRING_BASE_CONST_H */