ReactOS 0.4.15-dev-7918-g2a2556c
__bstr_wrapper< _CharT, _Traits, _Alloc > Struct Template Reference

#include <_string_sum.h>

Collaboration diagram for __bstr_wrapper< _CharT, _Traits, _Alloc >:

Public Types

typedef const _CharT & const_reference
 
typedef basic_string< _CharT, _Traits, _Alloc_BString
 

Public Member Functions

 __bstr_wrapper (_BString const &__s)
 
size_t size () const
 
const_reference operator[] (size_t __n) const
 
_BString constb_str () const
 

Private Attributes

_BString const_BStr
 

Detailed Description

template<class _CharT, class _Traits, class _Alloc>
struct __bstr_wrapper< _CharT, _Traits, _Alloc >

Definition at line 63 of file _string_sum.h.

Member Typedef Documentation

◆ _BString

template<class _CharT , class _Traits , class _Alloc >
typedef basic_string<_CharT, _Traits, _Alloc> __bstr_wrapper< _CharT, _Traits, _Alloc >::_BString

Definition at line 65 of file _string_sum.h.

◆ const_reference

template<class _CharT , class _Traits , class _Alloc >
typedef const _CharT& __bstr_wrapper< _CharT, _Traits, _Alloc >::const_reference

Definition at line 64 of file _string_sum.h.

Constructor & Destructor Documentation

◆ __bstr_wrapper()

template<class _CharT , class _Traits , class _Alloc >
__bstr_wrapper< _CharT, _Traits, _Alloc >::__bstr_wrapper ( _BString const __s)
inline

Definition at line 67 of file _string_sum.h.

67 :
68 _BStr(__s) {}
_BString const & _BStr
Definition: _string_sum.h:77

Member Function Documentation

◆ b_str()

template<class _CharT , class _Traits , class _Alloc >
_BString const & __bstr_wrapper< _CharT, _Traits, _Alloc >::b_str ( ) const
inline

Definition at line 74 of file _string_sum.h.

74{ return _BStr; }

◆ operator[]()

template<class _CharT , class _Traits , class _Alloc >
const_reference __bstr_wrapper< _CharT, _Traits, _Alloc >::operator[] ( size_t  __n) const
inline

Definition at line 72 of file _string_sum.h.

72{ return _BStr[__n]; }
return __n
Definition: _algo.h:75

◆ size()

template<class _CharT , class _Traits , class _Alloc >
size_t __bstr_wrapper< _CharT, _Traits, _Alloc >::size ( ) const
inline

Definition at line 70 of file _string_sum.h.

70{ return _BStr.size(); }
size_type size() const
Definition: _string.h:400

Member Data Documentation

◆ _BStr


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