Posted By

chrysanth on 03/19/07


Tagged

array tuple boost


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

yuconner
copyleft
khouser


boost tuple array


 / Published in: C++
 

  1. boost::array<boost::tuple<string, int>, 2> boo = {
  2. ("position x", 0),
  3. ("position y", 0)
  4. };
  5.  
  6. boost::array<boost::tuple<string, int>, 2> foo = {
  7. boost::make_tuple("position x", 0),
  8. boost::make_tuple("position y", 0)
  9. };

Report this snippet  

You need to login to post a comment.