ReactOS 0.4.15-dev-8413-gc1c91f2
__cstr_wrapper< _CharT > Struct Template Reference

#include <_string_sum.h>

Public Types

typedef const _CharT & const_reference

Public Member Functions

 __cstr_wrapper (const _CharT *__cstr, size_t __size)
const _CharT * c_str () const
size_t size () const
const_reference operator[] (size_t __n) const

Private Attributes

const _CharT * _CStr
size_t _Size

Detailed Description

template<class _CharT>
struct __cstr_wrapper< _CharT >

Definition at line 44 of file _string_sum.h.

Member Typedef Documentation

◆ const_reference

template<class _CharT >
typedef const _CharT& __cstr_wrapper< _CharT >::const_reference

Definition at line 45 of file _string_sum.h.

Constructor & Destructor Documentation

◆ __cstr_wrapper()

template<class _CharT >
__cstr_wrapper< _CharT >::__cstr_wrapper ( const _CharT *  __cstr,
size_t  __size 

Definition at line 47 of file _string_sum.h.

47 :
48 _CStr(__cstr), _Size(__size) {}
const _CharT * _CStr
Definition: _string_sum.h:57

Member Function Documentation

◆ c_str()

template<class _CharT >
const _CharT * __cstr_wrapper< _CharT >::c_str ( ) const

Definition at line 50 of file _string_sum.h.

50{ return _CStr; }

◆ operator[]()

template<class _CharT >
const_reference __cstr_wrapper< _CharT >::operator[] ( size_t  __n) const

Definition at line 54 of file _string_sum.h.

54{ return _CStr[__n]; }
return __n
Definition: _algo.h:75

◆ size()

template<class _CharT >
size_t __cstr_wrapper< _CharT >::size ( ) const

Definition at line 52 of file _string_sum.h.

52{ return _Size; }

Member Data Documentation

◆ _CStr

template<class _CharT >
const _CharT* __cstr_wrapper< _CharT >::_CStr

◆ _Size

template<class _CharT >
size_t __cstr_wrapper< _CharT >::_Size

Definition at line 58 of file _string_sum.h.

Referenced by __cstr_wrapper< _CharT >::size().

The documentation for this struct was generated from the following file: