Просмотр исходного кода

Update contrib/restricted/boost/serialization to 1.85.0
2806d67a9477e3d51376cd3e16a9b5d6b785806b

robot-contrib 10 месяцев назад
Родитель
Сommit
cad16b70aa

+ 1 - 1
contrib/restricted/boost/serialization/include/boost/archive/basic_archive.hpp

@@ -60,7 +60,7 @@ public:
     operator base_type () const {
         return t;
     }
-    // used for text intput
+    // used for text input
     operator base_type  & (){
         return t;
     }

+ 2 - 2
contrib/restricted/boost/serialization/include/boost/archive/basic_binary_iarchive.hpp

@@ -10,7 +10,7 @@
 // basic_binary_iarchive.hpp
 //
 // archives stored as native binary - this should be the fastest way
-// to archive the state of a group of obects.  It makes no attempt to
+// to archive the state of a group of objects.  It makes no attempt to
 // convert to any canonical form.
 
 // IN GENERAL, ARCHIVES CREATED WITH THIS CLASS WILL NOT BE READABLE
@@ -69,7 +69,7 @@ protected:
     // intermediate level to support override of operators
     // fot templates in the absence of partial function
     // template ordering. If we get here pass to base class
-    // note extra nonsense to sneak it pass the borland compiers
+    // note extra nonsense to sneak it pass the borland compilers
     typedef detail::common_iarchive<Archive> detail_common_iarchive;
     template<class T>
     void load_override(T & t){

+ 2 - 2
contrib/restricted/boost/serialization/include/boost/archive/basic_binary_iprimitive.hpp

@@ -14,7 +14,7 @@
 // basic_binary_iprimitive.hpp
 //
 // archives stored as native binary - this should be the fastest way
-// to archive the state of a group of obects.  It makes no attempt to
+// to archive the state of a group of objects.  It makes no attempt to
 // convert to any canonical form.
 
 // IN GENERAL, ARCHIVES CREATED WITH THIS CLASS WILL NOT BE READABLE
@@ -89,7 +89,7 @@ public:
     std::locale archive_locale;
     #endif
 
-    // main template for serilization of primitive types
+    // main template for serialization of primitive types
     template<class T>
     void load(T & t){
         load_binary(& t, sizeof(T));

+ 5 - 5
contrib/restricted/boost/serialization/include/boost/archive/basic_binary_oarchive.hpp

@@ -17,7 +17,7 @@
 //  See http://www.boost.org for updates, documentation, and revision history.
 
 // archives stored as native binary - this should be the fastest way
-// to archive the state of a group of obects.  It makes no attempt to
+// to archive the state of a group of objects.  It makes no attempt to
 // convert to any canonical form.
 
 // IN GENERAL, ARCHIVES CREATED WITH THIS CLASS WILL NOT BE READABLE
@@ -53,9 +53,9 @@ namespace detail {
 // class basic_binary_oarchive - write serialized objects to a binary output stream
 // note: this archive has no pretensions to portability.  Archive format
 // may vary across machine architectures and compilers.  About the only
-// guarentee is that an archive created with this code will be readable
-// by a program built with the same tools for the same machne.  This class
-// does have the virtue of buiding the smalles archive in the minimum amount
+// guarantee is that an archive created with this code will be readable
+// by a program built with the same tools for the same machine.  This class
+// does have the virtue of building the smallest archive in the minimum amount
 // of time.  So under some circumstances it may be he right choice.
 template<class Archive>
 class BOOST_SYMBOL_VISIBLE basic_binary_oarchive :
@@ -73,7 +73,7 @@ protected:
         friend class detail::interface_oarchive<Archive>;
     #endif
 #endif
-    // any datatype not specifed below will be handled by base class
+    // any datatype not specified below will be handled by base class
     typedef detail::common_oarchive<Archive> detail_common_oarchive;
     template<class T>
     void save_override(const T & t){

+ 3 - 3
contrib/restricted/boost/serialization/include/boost/archive/basic_binary_oprimitive.hpp

@@ -17,7 +17,7 @@
 //  See http://www.boost.org for updates, documentation, and revision history.
 
 // archives stored as native binary - this should be the fastest way
-// to archive the state of a group of obects.  It makes no attempt to
+// to archive the state of a group of objects.  It makes no attempt to
 // convert to any canonical form.
 
 // IN GENERAL, ARCHIVES CREATED WITH THIS CLASS WILL NOT BE READABLE
@@ -56,7 +56,7 @@ namespace boost {
 namespace archive {
 
 /////////////////////////////////////////////////////////////////////////
-// class basic_binary_oprimitive - binary output of prmitives
+// class basic_binary_oprimitive - binary output of primitives
 
 template<class Archive, class Elem, class Tr>
 class BOOST_SYMBOL_VISIBLE basic_binary_oprimitive {
@@ -156,7 +156,7 @@ basic_binary_oprimitive<Archive, Elem, Tr>::save_binary(
     // BOOST_ASSERT(count <= std::size_t(boost::integer_traits<std::streamsize>::const_max));
     // note: if the following assertions fail
     // a likely cause is that the output stream is set to "text"
-    // mode where by cr characters recieve special treatment.
+    // mode where by cr characters receive special treatment.
     // be sure that the output stream is opened with ios::binary
     //if(os.fail())
     //    boost::serialization::throw_exception(

+ 5 - 4
contrib/restricted/boost/serialization/include/boost/archive/basic_text_oprimitive.hpp

@@ -61,7 +61,7 @@ namespace boost {
 namespace archive {
 
 /////////////////////////////////////////////////////////////////////////
-// class basic_text_oprimitive - output of prmitives to stream
+// class basic_text_oprimitive - output of primitives to stream
 template<class OStream>
 class BOOST_SYMBOL_VISIBLE basic_text_oprimitive
 {
@@ -159,17 +159,18 @@ protected:
                 archive_exception(archive_exception::output_stream_error)
             );
         }
-        // The formulae for the number of decimla digits required is given in
+        // The formulae for the number of decimal digits required is given in
         // http://www2.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1822.pdf
         // which is derived from Kahan's paper:
         // www.eecs.berkeley.edu/~wkahan/ieee754status/ieee754.ps
         // const unsigned int digits = (std::numeric_limits<T>::digits * 3010) / 10000;
         // note: I've commented out the above because I didn't get good results.  e.g.
         // in one case I got a difference of 19 units.
+        const unsigned int digits =
         #ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
-        const unsigned int digits = std::numeric_limits<T>::max_digits10;
+            std::numeric_limits<T>::max_digits10;
         #else
-        const unsigned int digits = std::numeric_limits<T>::digits10 + 2;
+            std::numeric_limits<T>::digits10 + 2;
         #endif
         os << std::setprecision(digits) << std::scientific << t;
     }

+ 1 - 1
contrib/restricted/boost/serialization/include/boost/archive/binary_iarchive.hpp

@@ -29,7 +29,7 @@ namespace boost {
 namespace archive {
 
 // do not derive from this class.  If you want to extend this functionality
-// via inhertance, derived from binary_iarchive_impl instead.  This will
+// via inheritance, derived from binary_iarchive_impl instead.  This will
 // preserve correct static polymorphism.
 class BOOST_SYMBOL_VISIBLE binary_iarchive :
     public binary_iarchive_impl<

+ 1 - 1
contrib/restricted/boost/serialization/include/boost/archive/binary_oarchive.hpp

@@ -30,7 +30,7 @@ namespace boost {
 namespace archive {
 
 // do not derive from this class.  If you want to extend this functionality
-// via inhertance, derived from binary_oarchive_impl instead.  This will
+// via inheritance, derived from binary_oarchive_impl instead.  This will
 // preserve correct static polymorphism.
 class BOOST_SYMBOL_VISIBLE binary_oarchive :
     public binary_oarchive_impl<

+ 1 - 1
contrib/restricted/boost/serialization/include/boost/archive/binary_woarchive.hpp

@@ -29,7 +29,7 @@ namespace boost {
 namespace archive {
 
 // do not derive from this class.  If you want to extend this functionality
-// via inhertance, derived from binary_oarchive_impl instead.  This will
+// via inheritance, derived from binary_oarchive_impl instead.  This will
 // preserve correct static polymorphism.
 class binary_woarchive :
     public binary_oarchive_impl<

+ 4 - 4
contrib/restricted/boost/serialization/include/boost/archive/codecvt_null.hpp

@@ -52,7 +52,7 @@ class codecvt_null;
 template<>
 class codecvt_null<char> : public std::codecvt<char, char, std::mbstate_t>
 {
-    bool do_always_noconv() const noexcept BOOST_OVERRIDE {
+    bool do_always_noconv() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE {
         return true;
     }
 public:
@@ -88,15 +88,15 @@ class BOOST_SYMBOL_VISIBLE codecvt_null<wchar_t> :
         wchar_t * & next2
     ) const BOOST_OVERRIDE;
 
-    BOOST_SYMBOL_EXPORT virtual int do_encoding( ) const noexcept BOOST_OVERRIDE {
+    BOOST_SYMBOL_EXPORT int do_encoding( ) const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE {
         return sizeof(wchar_t) / sizeof(char);
     }
 
-    BOOST_SYMBOL_EXPORT bool do_always_noconv() const throw() BOOST_OVERRIDE {
+    BOOST_SYMBOL_EXPORT bool do_always_noconv() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE {
         return false;
     }
 
-    BOOST_SYMBOL_EXPORT int do_max_length( ) const noexcept BOOST_OVERRIDE {
+    BOOST_SYMBOL_EXPORT int do_max_length( ) const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE {
         return do_encoding();
     }
 public:

Некоторые файлы не были показаны из-за большого количества измененных файлов