# io

© 2005,2009,2014 John Abbott
GNU Free Documentation License, Version 1.2

- Examples
- User Documentation
- Maintainer Documentation
- Bugs, Shortcomings, and other ideas
- Main changes

CoCoALib Documentation Index

## Examples

- ex-io.C

## User Documentation

There are two template fns for printing out `std::list` and `std::vector` values: the printed form is delimited with square brackets, and items are separated by commas (and a space). These use the normal C++ syntax:

        cout << VectorValue << endl;
        cout << ListValue << endl;

## Maintainer Documentation

The implementations could hardly be simpler. The only "clever" part is the fn `OutputRange` which actually does the work.

## Bugs, Shortcomings, and other ideas

OutputRange is publicly visible, but is not intended for public use.

## Main changes

2014

- May (v0.99533): removed InputFailCheck (it was rather pointless) moved GlobalOutput etc to file server/GlobalIO.H