#include <mfcstl/collections/cstring_adaptors.hpp>
It can be used via the std::basic_string-like interface
Member Types | |
typedef CString_iadaptor | class_type |
The class type. | |
Public Member Functions | |
class_type const & | operator= (class_type const &rhs) |
Copy assignment operator. | |
class_type const & | operator= (CString const &rhs) |
Copy assignment operator. | |
class_type const & | operator= (LPCSTR s) |
Assignment operator. | |
class_type const & | operator= (LPCWSTR s) |
Assignment operator. | |
class_type const & | operator= (unsigned char const *s) |
Assignment operator. | |
Construction | |
CString_iadaptor (CString &str) | |
CString_iadaptor (CString *str) | |
Element Access | |
reference | operator[] (size_type index) |
Returns a mutable (non-const) reference to the element at index . | |
const_reference | operator[] (size_type index) const |
Returns a non-mutable (const) reference to the element at index . |
typedef CString_iadaptor class_type |
class_type const& operator= | ( | class_type const & | rhs | ) |
Copy assignment operator.
class_type const& operator= | ( | CString const & | rhs | ) |
Copy assignment operator.
class_type const& operator= | ( | LPCSTR | s | ) |
Assignment operator.
class_type const& operator= | ( | LPCWSTR | s | ) |
Assignment operator.
class_type const& operator= | ( | unsigned char const * | s | ) |
Assignment operator.
Returns a mutable (non-const) reference to the element at index
.
const_reference operator[] | ( | size_type | index | ) | const |
Returns a non-mutable (const) reference to the element at index
.