Strings
Home Up

 

Same level pages:
Language Support
Diagnostics
General Utilities
Strings
Localization
Numerics
Input/Output

Parent level pages:
STL
FAQs
Headers
Libraries

String classes

<string>
Structs/Classes
template<class charT> struct string_char_traits;
template<class charT, class traits = string_char_traits<charT>, class Allocator = allocator> class basic_string;
struct string_char_traits<char>;
struct string_char_traits<wchar_t>;
Typedefs
typedef basic_string<char> string;
typedef basic_string<wchar_t> wstring;
Functions 
basic_string<> operator+ (const basic_string<>& lhs, const basic_string<>& rhs);
basic_string<> operator+ (const charT* lhs, const basic_string<>& rhs);
basic_string<> operator+ (charT lhs, const basic_string<>& rhs);
basic_string<> operator+ (const basic_string<>& lhs, const charT* rhs);
basic_string<> operator+ (const basic_string<>& lhs, charT rhs);
bool operator== (const basic_string<>& lhs, const basic_string<>& rhs);
bool operator== (const charT* lhs, const basic_string<>& rhs);
bool operator== (const basic_string<>& lhs, const charT* rhs);
bool operator!= (const basic_string<>& lhs, const basic_string<>& rhs);
bool operator!= (const charT* lhs, const basic_string<>& rhs);
bool operator!= (const basic_string<>& lhs, const charT* rhs);
bool operator< (const basic_string<>& lhs, const basic_string<>& rhs);
bool operator< (const basic_string<>& lhs, const charT* rhs);
bool operator< (const charT* lhs, const basic_string<>& rhs);
bool operator> (const basic_string<>& lhs, const basic_string<>& rhs);
bool operator> (const basic_string<>& lhs, const charT* rhs);
bool operator> (const charT* lhs, const basic_string<>& rhs);
bool operator<=(const basic_string<>& lhs, const basic_string<>& rhs);
bool operator<= (const basic_string<>& lhs, const charT* rhs);
bool operator<= (const charT* lhs, const basic_string<>& rhs);
bool operator>= (const basic_string<>& lhs, const basic_string<>& rhs);
bool operator>= (const basic_string<>& lhs, const charT* rhs);
bool operator>= (const charT* lhs, const basic_string<>& rhs);
basic_istream<charT>& operator>> (basic_istream<charT>& is, basic_string<>& str);
basic_ostream<charT>& operator<< (basic_ostream<charT>& os, const basic_string<>& str);
basic_istream<charT,IS_traits>& getline (basic_istream<charT,IS_traits>& is, basic_string<>& str, charT delim = IS_traits::newline());
<cctype>
Functions
isalnum()
isdigit()
isprint()
isupper()
tolower()
isalpha()
isgraph()
ispunct()
isxdigit()
toupper()
iscntrl()
islower()
isspace()
<cwctype>
Macros
WEOF
Typedefs
wctrans_t
wctype_t
wint_t
Functions
iswalnum()
iswctype()
iswlower()
iswspace()
towctrans()
wctrans()
iswalpha()
iswdigit()
iswprint()
iswupper()
towlower()
wctype()
iswcntrl()
iswgraph()
iswpunct()
iswxdigit()
towupper()

Null-terminated sequence utilities 

(for C-style strings)

<cstring>
Macros
NULL
Typedefs
size_type
Functions
strcat()
strrchr()
strcmp()
strcoll()
strcpy()
strcspn()
strerror()
strlen()
strncat()
strncmp()
strncpy()
strpbrk()
strrchr()
strspn()
strstr()
strtok()
strxfrm()
<cwchar>
Macros
NULL
Typedefs
size_type
Functions
btowc()
getwchar()
ungetwc()
wcscpy()
wcsrtombs()
wmemchr()
fgetwc()
mbrlen()
vfwprintf()
wcscspn()
wcsspn()
wmemcmp()
fgetws()
mbrtowc()
vswprintf()
wcsftime()
wcsstr()
wmemcpy()
fputwc()
mbsinit()
vwprintf()
wcslen()
wcstod()
wmemmove()
fputws()
mbsrtowcs()
wcrtomb()
wcsncat()
wcstok()
wmemset()
fwide()
putwc()
wcscat()
wcsncmp()
wcstol()
wprintf()
fwprintf()
putwchar()
wcschr()
wcsncpy()
wcstoul()
wscanf()
fwscanf()
swprintf()
wcscmp()
wcspbrk()
wcsxfrm()
getwc()
swscanf()
wcscoll()
wcsrchr()
wctob()
<cstdlib>
Macros
MB_CUR_MAX
Functions
atol()
atof()
atoi()
mblen()
mbstowcs()
mbtowc()
strod()
strol()
stroul()
wctomb()
wcstombs()
 
ŠPaul Buis & Ball State University Author: Paul Buis (peb@bsu.edu) Last Modified:10/30/00 01:36 PM

NOTICE: The information presented on this page represents the personal views, ideas, and opinions of the author. This is not an official Ball State University web page. Links contained at this web site to other organizations, are presented as a service and neither constitute nor imply university endorsement or warranty.