## Concept Source

Source

## 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 Source concept.
`src`
  Object of type S
`s`
  Object of type 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::input_tag.

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

## Valid expressions

Name | Expression | Type | Semantics
--- | --- | --- | ---
Read | src.read(s, n) | std::streamsize | `src`から文字列を読み取り、範囲`[s, s+n)`に書き出す。

## See also

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