[fpos.members]

# 31 Input/output library [[input.output]](./#input.output)

## 31.5 Iostreams base classes [[iostreams.base]](iostreams.base#fpos.members)

### 31.5.3 Class template fpos [[fpos]](fpos#members)

#### 31.5.3.2 Members [fpos.members]

[ð](#lib:state,fpos)

`void state(stateT s);
`

[1](#1)

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

*Effects*: Assigns s to *st*[.](#1.sentence-1)

[ð](#lib:state,fpos_)

`stateT state() const;
`

[2](#2)

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

*Returns*: Current value of *st*[.](#2.sentence-1)
