## Concept SeekableSink

SeekableSink

## Refinement of

- Sink

## Associated types

- category

      boost::iostreams::category_of<S>::type

  デバイスのカテゴリ

## Notation

S
  A type playing the role of device-type in the SeekableSink concept.
`snk`
  Object of type S
`off`
  Object of type boost::iostreams::stream_offset
`way`
  Object of type std::ios_base::seekdir

## Type expressions

Category tag

  category must be derived from boost::iostreams::device_tag and derived from boost::iostreams::output_seekable.

## Valid expressions

Name | Expression | Type | Semantics
--- | --- | --- | ---
Seek | snk.seek(off, way) | std::streampos | `way`が`std::ios_base::beg`ならばデバイスの先頭から、`std::ios_base::cur`ならば現在位置から、`std::ios_base::end`ならば末尾から、`off`文字目にヘッドを移動する。

## See also

| 製作著作 © 2006 Takeshi Mouri 製作著作 © 2002, 2003 Trustees of Indiana University. 製作著作 © 2001, 2002 University of Notre Dame.