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