ReactOS  0.4.13-dev-464-g6b95727
_string.h File Reference
#include <stl/_alloc.h>
#include <stl/_string_fwd.h>
#include <stl/_function_base.h>
#include <stl/_algobase.h>
#include <stl/_iterator.h>
#include <stl/_uninitialized.h>
#include <stl/_string_base.h>
#include <stl/_string_npos.h>
#include <stl/_string_operators.h>
Include dependency graph for _string.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _String_reserve_t
 
class  basic_string< _CharT, _Traits, _Alloc >
 

Macros

#define _STLP_PRIVATE   private
 

Functions

_STLP_END_NAMESPACE _STLP_BEGIN_NAMESPACE void _STLP_CALL swap (string &__x, string &__y)
 
template<class _CharT , class _Traits , class _Alloc >
_STLP_MOVE_TO_PRIV_NAMESPACE void _STLP_CALL _S_string_copy (const basic_string< _CharT, _Traits, _Alloc > &__s, _CharT *__buf, size_t __n)
 
const char *_STLP_CALL __get_c_string (const string &__str)
 

Macro Definition Documentation

◆ _STLP_PRIVATE

#define _STLP_PRIVATE   private

Definition at line 117 of file _string.h.

Function Documentation

◆ __get_c_string()

const char* _STLP_CALL __get_c_string ( const string __str)
inline

Definition at line 1163 of file _string.h.

1163 { return __str.c_str(); }

Referenced by __Named_exception::__Named_exception().

◆ _S_string_copy()

template<class _CharT , class _Traits , class _Alloc >
_STLP_MOVE_TO_PRIV_NAMESPACE void _STLP_CALL _S_string_copy ( const basic_string< _CharT, _Traits, _Alloc > &  __s,
_CharT *  __buf,
size_t  __n 
)

Definition at line 578 of file _string.c.

579  {
580  if (__n > 0) {
581  __n = (min) (__n - 1, __s.size());
582  _STLP_STD::copy(__s.begin(), __s.begin() + __n, __buf);
583  __buf[__n] = _CharT();
584  }
585 }
return __n
Definition: _algo.h:75
iterator begin()
Definition: _string.h:385
size_type size() const
Definition: _string.h:400
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
Definition: copy.c:51
#define min(a, b)
Definition: monoChain.cc:55

◆ swap()

Definition at line 1126 of file _string.h.

1127 { __x.swap(__y); }