boost tuple array


/ Published in: C++
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.