shadowm

test.cpp

Jun 18th, 2011
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <string>
  2. #include <vector>
  3.  
  4. using namespace std;
  5.  
  6. struct Thing
  7. {
  8.     vector<string> stuff;
  9.  
  10.     Thing(vector<string> const& crap) : stuff(crap)
  11.     {
  12.     }
  13. };
  14.  
  15. int main(int, char**)
  16. {
  17.     Thing thingy = std::string("bar");
  18.  
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment