## Concept Sink

Sink

## Refinement of

- Device

## Associated types

- char_type

      boost::iostreams::char_type_of<S>::type

  デバイスの文字型

- category

      boost::iostreams::category_of<S>::iterator_category

  デバイスのカテゴリ

## Notation

S
  A type playing the role of device-type in the Sink concept.
`snk`
  Object of type S
`s`
  Object of type const char_type *
`n`
  Object of type std::streamsize

## Type expressions

Category tag

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

  `category`は`boost::iostreams::direct_tag`から派生していてはならない。

## Valid expressions

Name | Expression | Type | Semantics
--- | --- | --- | ---
Write | snk.write(s, n) | std::streamsize | 範囲`[s, s+n)`の文字列を`snk`に書き出す。

## See also

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