StackOverflow Questions for Tag: char-traits

Adrian McCarthy
Adrian McCarthy

Reputation: 48028

Design considerations for type traits for a set of related types

Score: 3

Views: 75

Answers: 2

Read More
mike_m2
mike_m2

Reputation: 41

C++ Builder 11 linker problem - Unresolved external 'std::char_traits<char>::assign(char *, unsigned int, char)

Score: 1

Views: 130

Answers: 1

Read More
Matthew Smith
Matthew Smith

Reputation: 6275

What is the point of STL Character Traits?

Score: 92

Views: 16423

Answers: 1

Read More
Capy Maths
Capy Maths

Reputation: 79

How to initialize custom analogue for std::cout?

Score: -2

Views: 102

Answers: 1

Read More
Capy Maths
Capy Maths

Reputation: 79

Why does std::basic_string have two separate template parameters _Elem (char type) and _Traits (char traits)?

Score: 0

Views: 178

Answers: 1

Read More
Saikumar godala
Saikumar godala

Reputation: 1

How to assign a std::string to std::basic_string<unsigned short int, TRAITS_CLASS>(Unicode2String) on Linux

Score: 0

Views: 678

Answers: 1

Read More
L. F.
L. F.

Reputation: 20649

Is it guaranteed that std::char_traits<char>::to_int_type(c) == static_cast<int>(c)?

Score: 4

Views: 289

Answers: 1

Read More
PookyFan
PookyFan

Reputation: 840

Why std::basic_fstream<unsigned char> won't work?

Score: 1

Views: 712

Answers: 2

Read More
Pierre
Pierre

Reputation: 2100

Is it possible to use std::char_traits<char> in constant expressions before GCC 8?

Score: 2

Views: 155

Answers: 1

Read More
user541686
user541686

Reputation: 210755

What's the purpose of std::char_traits::assign()?

Score: 14

Views: 1283

Answers: 3

Read More
Steve Lorimer
Steve Lorimer

Reputation: 28699

removing constexpr from a variable capturing a constexpr function return value removes compile-time evaluation

Score: 3

Views: 228

Answers: 3

Read More
user8705939
user8705939

Reputation:

Leading/trailing whitespace insensitive traits for basic_string

Score: 3

Views: 77

Answers: 2

Read More
Recker
Recker

Reputation: 1975

VS 2015 std::char_traits<char16_t> operations

Score: 1

Views: 154

Answers: 0

Read More
Crank
Crank

Reputation: 55

How one can safely serialize std::basic_istream<char>::pos_type?

Score: 0

Views: 138

Answers: 1

Read More
Big McLargeHuge
Big McLargeHuge

Reputation: 16066

Convert std::string to ci_string

Score: 0

Views: 424

Answers: 2

Read More
Aaron
Aaron

Reputation: 594

How can I use char_traits algorithms with a custom iterator type?

Score: 1

Views: 62

Answers: 0

Read More
Annie
Annie

Reputation: 3190

How to read cstrings from char**?

Score: 1

Views: 74

Answers: 1

Read More
x-x
x-x

Reputation: 7515

Why does this specialized char_traits<uint8_t> and codecvt<uint8_t> for use with the basic_ifstream template throw std::bad_cast?

Score: 15

Views: 3096

Answers: 1

Read More
Mircea Ispas
Mircea Ispas

Reputation: 20800

C++ std::basic_string/char_traits specialization

Score: 0

Views: 931

Answers: 2

Read More
PreviousPage 1Next