BOOST WIKI | BoostCon 2007 | RecentChanges | Preferences | Page List | Links List
- day 1: output: - wiki pages
- requirements for container printing
- technology survey - other libs
- why previous attempts have failed
- day 2: output - wiki pages
- Technology survey
- API sketches
- type requirements (wiki page)
- day 3: output - code and docs
- write initial user docs and tests
- initial code
- day 4: coding and any redesign
- day 5: final coding and wrap up
Why important
* why not iterator range?
* how about both
vector<int> vi = { 10, 100, 1000}
print(std::cout, vi);
or
print(vi, std::cout);
print(std::cout, vi.begin(), vi.end())
std::cout << vi << std::endl;
[10, 100, 1000]
list<int> li = { 10, 100, 1000}
[10, 100, 1000]
- format description (delimiter) is independent of type
- is it beginning, middle, end or something else?
- vector, list and whatever, user defined formatting
- csv format
std::vector<string>
"jef""f"" g", "howard h", "1000"
date(2005,1,1);
operator<<
struct foo {
string a;
int b;
float c;
}
- user defined type
- how is it output
- one way - require operator<<
- allows use of facets for user types
string s = "abc"
cout << %s <<
- expanded output iterator that contains formatting information
std::vector<string*>
boost::ptr_container<std::string>
- containers of containers
- polymorphic types in pointer container
std::map<int, base*>
std::vector<std::vector<string>>
- c++xx versus c++03
- tuples, std::pair (of references)
- user defined containers
std::map<int, string>
- word wrap, margins
- easy to use
- xml?
<table>
<tr><td>string1</td><
- header and footers?
- manipulation of the data types
<tr><td> foo > bar </td><
<tr><td> foo > bar </td>
- this capability is probably out of scope
-
- Sessions will be from 8 to 9 am
- Victor - help make a list of examples that should work
- Troy - implement pretty_oarchive just to have a look
- Krishna -
- Hartmut
- Sohail
- Danny
- Timothy
- Jeff Faust
Disclaimer: This site not officially maintained by Boost Developers