test_inclusion2.cpp 649 B

12345678910111213141516171819202122232425
  1. /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
  2. // test_const.cpp
  3. // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
  4. // Use, modification and distribution is subject to the Boost Software
  5. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #include <boost/archive/binary_iarchive.hpp>
  8. #include <boost/serialization/vector.hpp>
  9. #include <sstream>
  10. #include <vector>
  11. void f()
  12. {
  13. std::stringstream iss;
  14. boost::archive::binary_iarchive ar(iss);
  15. std::vector<int> out;
  16. ar >> out;
  17. }
  18. int
  19. main(int /*argc*/, char * /*argv*/[]){
  20. return 0;
  21. }