Statements (23)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:C++_class_template
|
| gptkbp:builtBy |
std::ostream_iterator(std::ostream& os)
std::ostream_iterator(std::ostream& os, const CharT* delimiter) |
| gptkbp:category |
output iterator
|
| gptkbp:citation |
https://en.cppreference.com/w/cpp/iterator/ostream_iterator
|
| gptkbp:definedIn |
<iterator> header
|
| gptkbp:delimiter |
optional string between elements
|
| gptkbp:example |
std::copy(v.begin(), v.end(), std::ostream_iterator<int>(std::cout, ", "));
|
| gptkbp:inheritsFrom |
std::iterator
|
| gptkbp:introducedIn |
gptkb:C++98
|
| gptkbp:namespace |
std
|
| gptkbp:operator |
operator*
operator++ operator= operator++(int) |
| gptkbp:parameter |
T (value type)
CharT (character type, optional) Traits (character traits, optional) |
| gptkbp:usedFor |
writing values to output streams
|
| gptkbp:writesTo |
std::ostream
|
| gptkbp:bfsParent |
gptkb:C++_Standard_Library_iterators
|
| gptkbp:bfsLayer |
8
|
| https://www.w3.org/2000/01/rdf-schema#label |
std::ostream iterator
|