diff --git a/include/boost/serialization/collection_size_type copy.hpp b/include/boost/serialization/collection_size_type copy.hpp deleted file mode 100644 index df32c3104d..0000000000 --- a/include/boost/serialization/collection_size_type copy.hpp +++ /dev/null @@ -1,125 +0,0 @@ -#ifndef BOOST_SERIALIZATION_COLLECTION_SIZE_TYPE_HPP -#define BOOST_SERIALIZATION_COLLECTION_SIZE_TYPE_HPP - -// (C) Copyright 2005 Matthias Troyer -// (C) Copyright 2020 Robert Ramey - -// Use, modification and distribution is subject to the Boost Software -// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) - -#include // size_t -#include -#include -#include -#include - -namespace boost { -namespace serialization { - -template // T is the basic type holding the integer -struct cardinal_number : private - boost::totally_ordered >, - boost::additive >, - boost::unit_steppable > -{ -private: - template - friend std::basic_ostream & operator<<( - const std::basic_ostream & bos, - const cardinal_number & rhs - ); - template - friend std::basic_istream & operator>>( - std::basic_istream & bis, - const cardinal_number & rhs - ); -public: - T m_t; - cardinal_number(T t = 0) : - m_t(t) - {} - cardinal_number(unsigned int t) : - m_t(t) - {} - cardinal_number(int t) : - m_t(t) - { - BOOST_ASSERT(t >= 0); - } - operator const T (){ - return m_t; - } - // assignment operator - cardinal_number & operator=(const cardinal_number & rhs){ - m_t = rhs.m_t; - return *this; - } - // basic operations upon which others depend - // totally ordered / less_than_comparable - bool operator<(const cardinal_number & rhs) const { - return m_t < rhs.m_t; - } - bool operator==(const cardinal_number & rhs) const { - return m_t == rhs.m_t; - } - // additive - cardinal_number & operator+=(const cardinal_number & rhs){ - m_t += rhs.m_t; - return *this; - } - // subtractive - cardinal_number & operator-=(const cardinal_number & rhs){ - BOOST_ASSERT(m_t >= rhs.m_t); - m_t -= rhs.m_t; - return *this; - } - // increment - cardinal_number operator++(){ - ++m_t; - return *this; - } - // decrement - cardinal_number operator--(){ - BOOST_ASSERT(m_t > T(0)); - --m_t; - return *this; - } -}; - -typedef cardinal_number collection_size_type; - -} } // end namespace boost::serialization - -#include -#include - -namespace std { - -template -basic_ostream & operator<<( - std::basic_ostream & bos, - const boost::serialization::collection_size_type & rhs -){ - bos << rhs.m_t; - return bos; -} - -template -basic_istream & operator>>( - std::basic_istream & bis, - boost::serialization::collection_size_type & rhs -){ - bis >> rhs.m_t; - return bis; -} - -} // std - -BOOST_CLASS_IMPLEMENTATION( \ - boost::serialization::collection_size_type, \ - primitive_type \ -) -BOOST_IS_BITWISE_SERIALIZABLE(boost::serialization::collection_size_type) - -#endif //BOOST_SERIALIZATION_COLLECTION_SIZE_TYPE_HPP diff --git a/test/test3.dat b/test/test3.dat deleted file mode 100644 index 9aef739504..0000000000 --- a/test/test3.dat +++ /dev/null @@ -1 +0,0 @@ - 1 96953204 177129195 1 5627 23010 7419

16212

4086 2749 -33 124 28 32225 17543 0.84431422 1.0170664757130923 tjbx cuwjentqpkejp
\ No newline at end of file diff --git a/test/testfile2 b/test/testfile2 deleted file mode 100644 index a61834cd38..0000000000 Binary files a/test/testfile2 and /dev/null differ