[locale.codecvt.members]

# 28 Text processing library [[text]](./#text)

## 28.3 Localization library [[localization]](localization#locale.codecvt.members)

### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.codecvt.members)

#### 28.3.4.2 The ctype category [[category.ctype]](category.ctype#locale.codecvt.members)

#### 28.3.4.2.5 Class template codecvt [[locale.codecvt]](locale.codecvt#members)

#### 28.3.4.2.5.2 Members [locale.codecvt.members]

[ð](#lib:codecvt,out)

`result out(
  stateT& state,
  const internT* from, const internT* from_end, const internT*& from_next,
  externT* to, externT* to_end, externT*& to_next) const;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2054)

*Returns*: do_out(state, from, from_end, from_next, to, to_end, to_next)[.](#1.sentence-1)

[ð](#lib:codecvt,unshift)

`result unshift(stateT& state, externT* to, externT* to_end, externT*& to_next) const;
`

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2065)

*Returns*: do_unshift(state, to, to_end, to_next)[.](#2.sentence-1)

[ð](#lib:codecvt,in)

`result in(
  stateT& state,
  const externT* from, const externT* from_end, const externT*& from_next,
  internT* to, internT* to_end, internT*& to_next) const;
`

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2079)

*Returns*: do_in(state, from, from_end, from_next, to, to_end, to_next)[.](#3.sentence-1)

[ð](#lib:codecvt,encoding)

`int encoding() const noexcept;
`

[4](#4)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2090)

*Returns*: do_encoding()[.](#4.sentence-1)

[ð](#lib:codecvt,always_noconv)

`bool always_noconv() const noexcept;
`

[5](#5)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2101)

*Returns*: do_always_noconv()[.](#5.sentence-1)

[ð](#lib:codecvt,length)

`int length(stateT& state, const externT* from, const externT* from_end, size_t max) const;
`

[6](#6)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2112)

*Returns*: do_length(state, from, from_end, max)[.](#6.sentence-1)

[ð](#lib:codecvt,max_length)

`int max_length() const noexcept;
`

[7](#7)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2123)

*Returns*: do_max_length()[.](#7.sentence-1)
