[Home]BoostCon 2007/Container Printing Lib - Schedule

BOOST WIKI | BoostCon 2007 | RecentChanges | Preferences | Page List | Links List

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]

  std::vector<string>

 "jef""f"" g", "howard h", "1000"

 date(2005,1,1);
 operator<<

 struct foo {
   string a;
   int b;
   float c;
 }

  string s = "abc"
  cout << %s << 

  std::vector<string*>
  boost::ptr_container<std::string>

  std::map<int, base*>
  std::vector<std::vector<string>>

  std::map<int, string>

 <table>
  <tr><td>string1</td><

  <tr><td> foo > bar </td><

  <tr><td> foo > bar </td>


BOOST WIKI | BoostCon 2007 | RecentChanges | Preferences | Page List | Links List
Edit text of this page | View other revisions
Last edited May 14, 2007 4:21 pm (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers