diff --git a/doc/acknowledgments.html b/doc/acknowledgments.html
index e4829282..c6f5fa79 100644
--- a/doc/acknowledgments.html
+++ b/doc/acknowledgments.html
@@ -53,7 +53,7 @@ http://www.boost.org/LICENSE_1_0.txt)
Beman Dawes who got the boost
serialization ball rolling. It was one or both of these two that invented
the much beloved & syntax used to implement both save and
- load in one fuction specification.
+ load in one function specification.
In addition, there are 28 other tests which aren't related to any particular archive class.
@@ -323,7 +323,7 @@ library_test --toolset=gcc -sBOOST_ARCHIVE_LIST=portable_binary_archive.hpp
All archives described so far are implemented as templates. Code to save and load
data to archives is regenerated for each combination of archive class and data type.
-Under these cirumstances, a good optimizing compiler that can expand
+Under these circumstances, a good optimizing compiler that can expand
inline functions to enough depth will generate fast code.
However:
BOOST_CLASS_IMPLEMENTATION(my_primitive_type, boost::serialization::primitive_type)
@@ -408,7 +408,7 @@ BOOST_CLASS_IMPLEMENTATION(my_primitive_type, boost::serialization::primitive_ty
Code to implement serialization for these types is instantiated "on the fly" in the user's program.
But this conflicts with the whole purpose of the polymorphic archive. An attempt to
-serialize such a primitive type will result in a compilation error since the common polymorhic
+serialize such a primitive type will result in a compilation error since the common polymorphic
interface is static and cannot instantiate code for a new type.
diff --git a/doc/archives.html b/doc/archives.html
index 0f16227a..c2cec3b8 100644
--- a/doc/archives.html
+++ b/doc/archives.html
@@ -232,7 +232,7 @@ equivalent to the original.
There are archives based on text, binary and XML file
formats but all have the above interface. Given that all archives present
-the same public interface, specifcation of serialization is exactly the same
+the same public interface, specification of serialization is exactly the same
for all archives. Archive classes have other members not mentioned here.
However they are related to the internal functioning of the library and
are not meant to be called by users of an archive. Implementation of new
@@ -303,7 +303,7 @@ namespace archive {
enum archive_flags {
no_header = 1, // suppress archive header info
no_codecvt = 2, // suppress alteration of codecvt facet
- no_xml_tag_checking = 4 // suppress checking of xml tags - igored on saving
+ no_xml_tag_checking = 4 // suppress checking of xml tags - ignored on saving
};
} // archive
@@ -343,7 +343,7 @@ output with initial data which helps identify them as archives produced by this
This permits a more graceful handling of the case where an attempt is made to load an archive
from an invalid file format. In addition to this, each type of archive might have
its own information. For example, native binary archives include information about
-sizes of native types and endianess to gracefully handle the case where it has been
+sizes of native types and endianness to gracefully handle the case where it has been
erroneously assumed that such an archive is portable across platforms. In some cases,
where this extra overhead might be considered objectionable, it can be suppressed with the
no_header flag.
@@ -394,7 +394,7 @@ public:
text_iarchive(std::istream & is, unsigned int flags = 0);
-
-Contructs an archive given an open
stream as
+Constructs an archive given an open stream as
an argument and optional flags. If flags are used, they should be the same
as those used when the archive was created. Function and usage of flags is described
above.
diff --git a/doc/bibliography.html b/doc/bibliography.html
index 59da5bb3..15a068af 100644
--- a/doc/bibliography.html
+++ b/doc/bibliography.html
@@ -42,7 +42,7 @@ http://www.boost.org/LICENSE_1_0.txt)
- Scott Meyers, Effective C++, Addison-Wesley, 1992
-
- Bjarne Stroustrup, The C++ Programming Langage, Addison-Wesley, 1997
+
- Bjarne Stroustrup, The C++ Programming Language, Addison-Wesley, 1997
- Alexandrescu, Andrei, Modern C++ Design, Addison-Wesley, 2001
diff --git a/doc/class_diagram.html b/doc/class_diagram.html
index 9cdc9d69..1d168042 100644
--- a/doc/class_diagram.html
+++ b/doc/class_diagram.html
@@ -68,10 +68,10 @@ common_oarchive<text_oarchive> blue
-implement saving for a given archive type. (in this case its text archives).
-Users include classes in red to save their data from a partcular
+implement saving for a given archive type. (in this case it's text archives).
+Users include classes in red to save their data from a particular
type of archive. Other classes whose names are in black implement the library and should
never change. They are in
namespace boost::archive::detail
diff --git a/doc/contents.html b/doc/contents.html
index dba4a18d..5f8bc41d 100644
--- a/doc/contents.html
+++ b/doc/contents.html
@@ -203,7 +203,7 @@ function initialize() {
- DLLS - Serialization and Runtime Linking
- Plugins
- Multi-Threading
-
- Optimzations
+
- Optimizations
- Archive Exceptions
unregistered_class
diff --git a/doc/dataflow.html b/doc/dataflow.html
index 618a5fd8..4d8d9f1f 100644
--- a/doc/dataflow.html
+++ b/doc/dataflow.html
@@ -135,7 +135,7 @@ Iterators which fulfill the above requirements should be composable and the abov
code should implement our binary to base64 conversion.
Iterators Included in the Library
-Dataflow iterators for the serialization library are all defined in the hamespace
+Dataflow iterators for the serialization library are all defined in the namespace
boost::archive::iterators included here are:
-
diff --git a/doc/derivation.html b/doc/derivation.html
index 947ba517..d4e1442b 100644
--- a/doc/derivation.html
+++ b/doc/derivation.html
@@ -127,7 +127,7 @@ class log_archive_impl :
public xml_oarchive_impl<Archive>
{
...
-);
+};
// do not derive from this class !!!
class log_archive :
diff --git a/doc/exceptions.html b/doc/exceptions.html
index cf3007be..3a2dca84 100644
--- a/doc/exceptions.html
+++ b/doc/exceptions.html
@@ -78,7 +78,7 @@ public:
unregistered_cast, // base - derived relationship not registered with
// void_cast_register
unsupported_class_version, // type saved with a version # greater than the
- // one used by the program. This indicates that the proggram
+ // one used by the program. This indicates that the program
// needs to be rebuilt.
multiple_code_instantiation, // code for implementing serialization for some
// type has been instantiated in more than one module.
@@ -184,7 +184,7 @@ archive has already been created.
output_stream_error
-An error has occured during stream input or ouput. Aside from the common
+An error has occurred during stream input or ouput. Aside from the common
situations such as a corrupted or truncated input file, there are
several less obvious ones that sometimes occur.
diff --git a/doc/extended_type_info.html b/doc/extended_type_info.html
index e60c5279..1d582bc7 100644
--- a/doc/extended_type_info.html
+++ b/doc/extended_type_info.html
@@ -49,7 +49,7 @@ the following functions
The main function we require - std::typeid()
is not available in all environments. Support for this function depends upon
runtime typing(RTTI) support from the compiler. This may be non-existent
- or not enabled for reasons such as a percieved inefficiency.
+ or not enabled for reasons such as a perceived inefficiency.
-
std::type_info includes a string
containing type name. This would seem to satisfy 2) above.
@@ -133,7 +133,7 @@ Generally, there will be one and only one
extended_type_info
instance created for each type. However, this is enforced only at the executable
module level. That is, if a program includes some shared libraries or DLLS,
-there may be more than one instance of this class correponding to a particular type.
+there may be more than one instance of this class corresponding to a particular type.
For this reason the comparison functions below can't just compare the addresses of
this instance but rather must be programmed to compare the actual information
the instances contain.
@@ -330,7 +330,7 @@ by the compiler.
extended_type_info_no_rtti
is implemented in a way that doesn't rely on the existence RTTI.
-Instead, it requires that all polymorphic types be explictly exported.
+Instead, it requires that all polymorphic types be explicitly exported.
In addition, if the export facility is to be used to serialize types
through base class pointers, those types are required to implement
a virtual function with the signature:
diff --git a/doc/headers.html b/doc/headers.html
index 1028a760..71450c20 100644
--- a/doc/headers.html
+++ b/doc/headers.html
@@ -58,7 +58,7 @@ is included with the following declaration
Files Included by User Programs
Using this library entails including headers listed in this section.
-It should not be necessary to explictly include any other header files.
+It should not be necessary to explicitly include any other header files.
Archive Implementations
@@ -185,7 +185,7 @@ boost/serialization/version.hpp
-
boost/serialization/level.hpp
-
- To override the default implementaton level trait for a type.
+- To override the default implementation level trait for a type.
-
boost/serialization/tracking.hpp
@@ -320,7 +320,7 @@ or wide character text streams. These classes specify archive type specific
behavior on a type by type basis. For example,
basic_xml_oarchive.hpp
includes code to guarantee that any object not attached to a name will
trap during compile time. On the other hand, basic_text_oarchive.hpp
-contains code to strip out and ingore any names attached to objects.
+contains code to strip out and ignore any names attached to objects.
-
boost/archive/detail/common_iarchive.hpp
@@ -343,7 +343,7 @@ and implementation are factored out into separate classes to minimize code dupli
These files are found in the directory
boost/archive/detail.
-These are included as necessary by the archive class implemenations listed above.
+These are included as necessary by the archive class implementations listed above.
This has the unfortunate side effect of making the implementation less transparent.
Users should never find it necessary to change these files.
@@ -408,7 +408,7 @@ Building of the library generates and compiles code for all archives implemented
rather than each time a user's program is recompiled. This can save much
development time.
- Headers which solely related to implementation need only be included
- in the library code modules. This prevents a user program from accidently
+ in the library code modules. This prevents a user program from accidentally
depending on an implementation feature of the serialization library.
- In building the library I came to the conclusions that there can arise
situations regarding static code/data instantiation that could not be
diff --git a/doc/implementation.html b/doc/implementation.html
index 08e9974b..1df3ed74 100644
--- a/doc/implementation.html
+++ b/doc/implementation.html
@@ -147,7 +147,7 @@ If
/Zc:wchar_t is specified on the
compile command line, wchar_t will be
considered an intrinsic type - otherwise
it will be treated as a synonym for a 16 bit integer. The library can be used
-either way - BUT - both the libray AND the application
+either way - BUT - both the library AND the application
must be compiled with the same switch settings. Note that BJAM
includes this switch by default. So if want to use the libraries that
BJAM builds, you should include this switch
diff --git a/doc/new_case_studies.html b/doc/new_case_studies.html
index 53ac6a07..82ac52e6 100644
--- a/doc/new_case_studies.html
+++ b/doc/new_case_studies.html
@@ -32,7 +32,7 @@ http://www.boost.org/LICENSE_1_0.txt)
These are not part of the library itself, but rather
-techiques on how to use the library to address specific situations.
+techniques on how to use the library to address specific situations.
Serializing a Function Object
An example on how to serialize a function object. I believe this
diff --git a/doc/overview.html b/doc/overview.html
index 47a87071..229885b6 100644
--- a/doc/overview.html
+++ b/doc/overview.html
@@ -127,7 +127,7 @@ XML, or some other created by the user of this library.
This library has similar goals to this one. Some aspects of the
implemenation are also similar. As of this writing, it would seem that:
- - Portability(1) is guarenteed only for recent versions of GCC.
+
- Portability(1) is guaranteed only for recent versions of GCC.
- Versioning(3) of class definitions is not explicitly supported by
the library.
- it doesn't seem to automatically account for shared pointers(5).
diff --git a/doc/pimpl.html b/doc/pimpl.html
index 6006ca7f..d620205a 100644
--- a/doc/pimpl.html
+++ b/doc/pimpl.html
@@ -115,7 +115,7 @@ The program should now link as well as compile.
The downside of this is that one has to know which archives are going
to be used with hidden serializations. This is an effect of using template
-driven code. One can invoke explicity instantiation for all known templates and
+driven code. One can invoke explicitly instantiation for all known templates and
presume that the linker will exclude unreferenced code. This should
work but is platform dependent.
diff --git a/doc/private_base.html b/doc/private_base.html
index f41791db..caba5feb 100644
--- a/doc/private_base.html
+++ b/doc/private_base.html
@@ -134,7 +134,7 @@ a pointer to the base class. Included in the macro
BOOST_SERIALIZATION_BASE_OBJECT_NVP
is code which links derived and base class definitions in tables used to serialize
-derived classes through pointers to a polymorphinc base class. This code requires
+derived classes through pointers to a polymorphic base class. This code requires
the ability to invoke
static_cast<Base &>(Derived &)
diff --git a/doc/rationale.html b/doc/rationale.html
index 5222a2e2..b9386f91 100644
--- a/doc/rationale.html
+++ b/doc/rationale.html
@@ -10,7 +10,7 @@ http://www.boost.org/LICENSE_1_0.txt)
-Seriealization - Rationale
+Serialization - Rationale
Member Function
@@ -180,7 +180,7 @@ possible to serialize them. So in some instances, minor modifications to the
class to be serialized will be necessary even when using this "non-intrusive"
method. In practice this may not be such a problem as many libraries
(E.G. STL) expose enough information to permit implementation of non-intrusive
-serialization with absolutly no changes to the library.
+serialization with absolutely no changes to the library.
Namespaces for Free Function Overrides
For maximum portability, include any free functions templates and definitions in the
@@ -255,7 +255,7 @@ Loading const members can be addressed
ar & const_cast<T &>(t);
Note that this violates the spirit and intention of the const
-keyword. const members are intialized when a class instance
+keyword. const members are initialized when a class instance
is constructed and not changed thereafter. However, this may
be most appropriate in many cases. Ultimately, it comes down to
the question about what const means in the context
@@ -463,7 +463,7 @@ following situations must be addressed:
be determined and saved. Upon restoration the correct type
must be created and its address correctly cast to the base
class. That is, polymorphic pointers have to be considered.
- - NULL pointers must be dectected when saved and restored
+
- NULL pointers must be detected when saved and restored
to NULL when deserialized.
@@ -543,7 +543,7 @@ private:
ar & m_state;
}
public:
- // no default construct guarentees that no invalid object
+ // no default construct guarantees that no invalid object
// ever exists
my_class(int attribute) :
m_attribute(attribute),
@@ -591,7 +591,7 @@ class derived_one : public base {
class derived_two : public base {
...
};
-main(){
+int main(){
...
base *b;
...
@@ -604,7 +604,7 @@ Should it be an object of class
derived_onederived_two, or maybe base?
It turns out that the kind of object serialized depends upon whether the base class
-(base in this case) is polymophic or not.
+(base in this case) is polymorphic or not.
If base is not polymorphic, that is if it has no
virtual functions, then an object of the type base
will be serialized. Information in any derived classes will be lost. If this is what is desired
@@ -630,7 +630,7 @@ the same sequence. This includes "registration".
Expanding our previous example:
-main(){
+int main(){
derived_one d1;
derived_two d2:
...
@@ -659,11 +659,11 @@ This can be addressed by registering the derived class explicitly. All archives
derived from a base class which implements the following template:
template<class T>
-register_type();
+register_type(T * = NULL);
So our problem could just as well be addressed by writing:
-main(){
+int main(){
...
ar.template register_type<derived_one>();
ar.template register_type<derived_two>();
@@ -674,7 +674,7 @@ main(){
Note that if the serialization function is split between save and load, both
functions must include the registration. This is required to keep the save
-and corresponding load in syncronization.
+and corresponding load in synchronization.
Export
The above will work but may be inconvenient. We don't always know which derived
@@ -690,7 +690,7 @@ So we have another method:
BOOST_CLASS_EXPORT_GUID(derived_one, "derived_one")
BOOST_CLASS_EXPORT_GUID(derived_two, "derived_two")
-main(){
+int main(){
...
base *b;
...
@@ -719,7 +719,7 @@ This means that serialization code must be instantiated for each
combination of archive and data type that is serialized in the program.
Polymorphic pointers of derived classes may never be referred to
-explictly by the program so normally code to serialize such classes
+explicitly by the program so normally code to serialize such classes
would never be instantiated. So in addition to including export key
strings in an archive, BOOST_CLASS_EXPORT_GUID explicitly
instantiates the class serialization code for all archive classes used
@@ -800,7 +800,7 @@ class derived : public base {
BOOST_CLASS_EXPORT_GUID(derived, "derived")
-main(){
+int main(){
//...
std::stringstream ss;
boost::archive::text_iarchive ar(ss);
diff --git a/doc/shared_ptr.html b/doc/shared_ptr.html
index b8f6c9fa..4dffc0e5 100644
--- a/doc/shared_ptr.html
+++ b/doc/shared_ptr.html
@@ -117,7 +117,7 @@ inline void load_construct_data(
}
The statement ar >> ptr_ is key. This deserializes
-the same pointer deserialzed above. Default object tracking will ensure
+the same pointer deserialized above. Default object tracking will ensure
that no more than one instance of the object is created and that the
pointer returned by multiple deserializations are all the same. Hence,
regardless of how many instances of shared_ptr/shared_count
@@ -170,7 +170,7 @@ This indicates that we're not quite done. Due to default object
tracking, sp_counted_base_impl<P, D> is only
created once regardless of how many shared pointers point to the
same object. Of course, it has to be this way. The reference
-count starts at 1 and is never incrememented. Code must be added
+count starts at 1 and is never incremented. Code must be added
to the serialization functions to maintain the proper reference
count.
@@ -191,13 +191,13 @@ In this case we need only the latter function so we can replace the
base object serialization with:
// register the relationship between each derived class
-// its polymorphic base
+// and its polymorphic base
void_cast_register<
boost::detail::sp_counted_base_impl<P, D>
boost::detail::sp_counted_base,
>();
-and we don't have to include a trival serializer for sp_counted_base.
+and we don't have to include a trivial serializer for sp_counted_base.
Finally we need to specify name-value pair wrappers if we want to be able
to use this serialization with XML archives.
diff --git a/doc/singleton.html b/doc/singleton.html
index 4231ded2..b410afa5 100644
--- a/doc/singleton.html
+++ b/doc/singleton.html
@@ -51,7 +51,7 @@ requires consideration of the following issues:
be taken to be sure that they are instantiated
- In a multi-threading system, its possible that these static variables
will be accessed concurrently by separate threads. This would create a
- race condition with unpredictabe behavior
+ race condition with unpredictable behavior
This singleton class addresses all of the above issues.
@@ -139,7 +139,7 @@ In order to be used as
singleton<T>
-, the type T must be default constructable.
+, the type T must be default constructible.
It doesn't require static variables - though it may have them.
Since the library guarantees that only one instance of
@@ -147,7 +147,7 @@ Since the library guarantees that only one instance of
singleton<T>
-exists and all accesss is through the above static interface
+exists and all access is through the above static interface
functions, common member functions of T become
the functional equivalent of
static functions.
@@ -242,7 +242,7 @@ The lock() and
unlock() are "global"
in that they affect ALL the singletons defined by this template.
All serialization tests invoke lock()
-at the start of the progam. For programs compiled in release
+at the start of the program. For programs compiled in release
mode these functions have no effect.
diff --git a/doc/smart_cast.html b/doc/smart_cast.html
index f438226a..932563f9 100644
--- a/doc/smart_cast.html
+++ b/doc/smart_cast.html
@@ -35,7 +35,7 @@ operators:
- required if neither T nor U are polymorphic
- permitted in other cases.
-
- fails to detect erroneous casts of polymophic pointers/references at runtime.
+
- fails to detect erroneous casts of polymorphic pointers/references at runtime.
- does not permit "cross casting"
- inline function calls can be optimized away during compile time.
diff --git a/doc/special.html b/doc/special.html
index 27295011..1592d034 100644
--- a/doc/special.html
+++ b/doc/special.html
@@ -54,7 +54,7 @@ can also be used to delete objects created during a loading process
that has been interrupted by throwing of an exception.
This could cause problems in
-progams where the copies of different objects are saved from the same address.
+programs where the copies of different objects are saved from the same address.
template<class Archive>
void save(boost::basic_oarchive & ar, const unsigned int version) const
@@ -159,7 +159,7 @@ BOOST_CLASS_TRACKING(my_virtual_base_class, boost::serialization::track_always)
Helper Support
Some types, specially those with complicated lifetime behavior or limited
access to their internal state, might need or benefit from elaborate serialization
-algorithms. The prinicple motivating case is that of shared_ptr. As instances
+algorithms. The principle motivating case is that of shared_ptr. As instances
are loaded, they have to be "matched up" with any other instances which have
already been loaded. Thus, a table of previously loaded instances has to be
maintained while the archive containing the shared_ptr instances is being loaded.
@@ -379,7 +379,7 @@ XML format has a nested structure that maps well to the "recursive class member
used by the serialization system. However, XML differs from other formats in that it
requires a name for each data member. Our goal is to add this information to the
class serialization specification while still permiting the the serialization code to be
-used with any archive. This is achived by requiring that all data serialized to an XML archive
+used with any archive. This is archived by requiring that all data serialized to an XML archive
be serialized as a name-value pair.
The first member is the name to be used as the XML tag for the
data item while the second is a reference to the data item itself. Any attempt to serialize data
@@ -429,7 +429,7 @@ BOOST_CLASS_EXPORT(a)
This will be true regardless of whether the code is part
of a stand alone executable, a static library or
-a dyanmic or shared library.
+a dynamic or shared library.
Including
BOOST_CLASS_EXPORT
@@ -451,12 +451,12 @@ in library code will have no effect unless archive class headers are
also included. So when building a library, one should include all headers
for all the archive classes which he anticipates using. Alternatively,
one can include headers for just the
-Polymoprhic Archives.
+Polymorphic Archives.
Strictly speaking, export should not be necessary if all pointer serialization
occurs through the most derived class. However, in order to detect
-what would be a catastophic error, the library traps ALL serializations through
+what would be a catastrophic error, the library traps ALL serializations through
a pointer to a polymorphic class which are not exported or otherwise registered.
So, in practice, be prepared to register or export all classes with one
or more virtual functions which are serialized through a pointer.
@@ -507,7 +507,7 @@ and
demo_pimpl_A.hpp
-where implementation of serializaton is in a static library
+where implementation of serialization is in a static library
completely separate from the main program.
DLLS - Serialization and Runtime Linking
@@ -526,7 +526,7 @@ and
dll_a.cpp
-where implementation of serializaton is also completely separate
+where implementation of serialization is also completely separate
from the main program but the code is loaded at runtime. In this
example, this code is loaded automatically when the program which
uses it starts up, but it could just as well be loaded and unloaded
@@ -552,7 +552,7 @@ needlessly duplicates code. Worse, it makes is possible for
different versions of the same code to exist simultaneously. This
type of error turns out to be excruciatingly difficult to debug.
Finally, it opens the possibility that a module being referred to
-might be explictly unloaded which would (hopefully) result in
+might be explicitly unloaded which would (hopefully) result in
a runtime error. This is another bug that is not always
reproducible or easy to find. For class member templates use something like
@@ -624,7 +624,7 @@ about which is known only the GUID and a base class.
Multi-Threading
The fundamental purpose of serialization would conflict with multiple
threads concurrently writing/reading from/to a single open archive instance.
-The library implementation presumes that the application avoids such a situtation.
+The library implementation presumes that the application avoids such a situation.
However, Writing/Reading different archives simultaneously
in different tasks is permitted as each archive instance is (almost)
diff --git a/doc/traits.html b/doc/traits.html
index da2e2f9c..3e08b404 100644
--- a/doc/traits.html
+++ b/doc/traits.html
@@ -48,7 +48,7 @@ type, the way it is used and specifications of the programmer.
One can alter the manner in which a particular data type is serialized
by specifying one or more class serialization traits.
-It is not generally necessary for the programmer to explictly assign
+It is not generally necessary for the programmer to explicitly assign
traits to his classes as there are default values for all traits.
If the default values are not appropriate they can be assigned by the programmer.
A template is used to associate a typename with a constant. For example
@@ -196,7 +196,7 @@ Default tracking traits are:
The default behavior is almost always the most convenient one. However,
there a few cases where it would be desirable to override the
default. One case is that of a virtual base class. In a diamond
-heritance structure with a virtual base class, object tracking
+inheritance structure with a virtual base class, object tracking
will prevent redundant save/load invocations. So here is one
case where it might be convenient to override the default tracking
trait. (Note: in a future version the default will be reimplemented
@@ -217,13 +217,13 @@ This is addressed by invoking
BOOST_CLASS_EXPORT_IMPLEMENT(T)
in the file which defines (implements) the class T.
This ensures that code for the derived class T will
-be explicity instantiated.
+be explicitly instantiated.
- There needs to be some sort of identifier which can
be used to select the code to be invoked when the object
is loaded.
Standard C++ does implement
typeid() which can be
used to return a unique string for the class. This is not entirely
-statisfactory for our purposes for the following reasons:
+satisfactory for our purposes for the following reasons:
- There is no guarantee that the string is the same across platforms.
This would then fail to support portable archives.
@@ -250,7 +250,7 @@ or
BOOST_CLASS_EXPORT_GUID(my_class, "my_class_external_identifier")
in either the declaration header or definition. These macros
expand to invocation of both of the macros described above.
-(GUID stands for Globally Unique IDentfier.)
+(GUID stands for Globally Unique IDentifier.)
(Elsewhere
in this manual, the serialization of derived classes is addressed in detail.)
@@ -516,7 +516,7 @@ and template parameters should be assigned according to the following table:
Some serialization traits can conflict with other ones. Sometimes these conflicts
will result in erroneous behavior (E.G. creating of archives which could not be read)
and other times they represent a probable misconception on the part of the
-library user which could result in suprising behavior. To the extent possible,
+library user which could result in surprising behavior. To the extent possible,
these conflicts are detected at compile time and errors (BOOST_STATIC_ASSERT)
or warnings (BOOST_STATIC_WARNING) are generated. They are generated in a
compiler dependent manner which should show a chain of instantiation
@@ -528,7 +528,7 @@ usage. Here is a list of the conflicts trapped:
object_level - error
-
This error traps attempts to serialize types whose
-implentation level is set to non_serializable.
+implementation level is set to non_serializable.
object_versioning - error
-
@@ -630,9 +630,9 @@ class K {
- Things continue smoothly as before. A month goes by and it's
discovered that when loading the archives made in the last month (reading the
log). Things don't work. The second log entry is always the same as the
- first. After a series of very long and increasingly acrimonius email exchanges,
+ first. After a series of very long and increasingly acrimonious email exchanges,
it's discovered
- that programmer(3) accidently broke programmer(2)'s code .This is because by
+ that programmer(3) accidentally broke programmer(2)'s code .This is because by
serializing via a pointer, the "log" object is now being tracked. This is because
the default tracking behavior is "track_selectively". This means that class
instances are tracked only if they are serialized through pointers anywhere in
@@ -683,7 +683,7 @@ ar << x;
Things work fine and he moves on.
-
- Now programer (2) wants to make his change - and again another
+
- Now programmer (2) wants to make his change - and again another
annoying const issue;
Y y;
@@ -709,7 +709,7 @@ ar << x
- This is just crazy. Its making my life needlessly difficult and flagging
code that is just fine. So I'll fix this with a
const_cast
- and fire off a complaint to the list and mabe they will fix it.
+ and fire off a complaint to the list and maybe they will fix it.
In this case, the story branches off to the previous scenario.
- Oh, this trap is suggesting that the default serialization isn't really
@@ -754,7 +754,7 @@ pay to avoid particularly vexing programming errors.
pointer_level - warning
-
-This trap addresses the following situaion when serializing
+This trap addresses the following situation when serializing
a pointer:
- A type doesn't save class information in the
@@ -775,7 +775,7 @@ that the archive doesn't include tracking information and
the archive will fail to load. Also the reverse situation could
trigger a similar problem.
-Though this situation is unlikely for several reasones,
+Though this situation is unlikely for several reasons,
it is possible - hence this warning.
So if your program traps here, consider changing the
diff --git a/doc/tutorial.html b/doc/tutorial.html
index 834108c2..993062b5 100644
--- a/doc/tutorial.html
+++ b/doc/tutorial.html
@@ -136,7 +136,7 @@ int main() {
For each class to be saved via serialization, there must exist a function to
save all the class members which define the state of the class.
For each class to be loaded via serialization, there must exist a function to
-load theese class members in the same sequence as they were saved.
+load these class members in the same sequence as they were saved.
In the above example, these functions are generated by the
template member function serialize.
@@ -185,7 +185,7 @@ The main application of non-intrusive serialization is to permit serialization
to be implemented for classes without changing the class definition.
In order for this to be possible, the class must expose enough information
to reconstruct the class state. In this example, we presumed that the
-class had public members - not a common occurence. Only
+class had public members - not a common occurrence. Only
classes which expose enough information to save and restore the class
state will be serializable without changing the class definition.
Serializable Members
@@ -541,7 +541,7 @@ This is described later in the manual.
- This is a variation the original demo which supports xml archives in addition
to the others. The extra wrapping macro, BOOST_SERIALIZATION_NVP(name), is
needed to associate a data item name with the corresponding xml
- tag. It is importanted that 'name' be a valid xml tag, else it
+ tag. It is important that 'name' be a valid xml tag, else it
will be impossible to restore the archive.
For more information see
Name-Value Pairs.
@@ -573,7 +573,7 @@ with serialization implementations for the Standard Library, the serialization l
includes implementation of serialization for
boost::shared ptr. Given this, it should be
easy to alter any of these examples to eliminate the memory leak. This is left
-as an excercise for the reader.
+as an exercise for the reader.
© Copyright Robert Ramey 2002-2004.
diff --git a/doc/void_cast.html b/doc/void_cast.html
index 1ee9e8a3..d3e637bd 100644
--- a/doc/void_cast.html
+++ b/doc/void_cast.html
@@ -29,7 +29,7 @@ http://www.boost.org/LICENSE_1_0.txt)
C++ includes the operator dynamic_cast<T>(U * u)
for casting a pointer at runtime between two related types. However, this can only be
used for polymorphic classes. That is, it can only be used with related classes which have at least one virtual function.
-Limiting the serializaton of pointers to only such classes would diminish the applicability
+Limiting the serialization of pointers to only such classes would diminish the applicability
of the library.
Usage
diff --git a/doc/wrappers.html b/doc/wrappers.html
index 2919991f..5164105e 100644
--- a/doc/wrappers.html
+++ b/doc/wrappers.html
@@ -118,7 +118,7 @@ An example of a strong typedef is the collection_size_type in the
header file
collection_size_type.hpp
-. This type should be used for serializaing the size of a C++ collection, so
+. This type should be used for serializing the size of a C++ collection, so
that the archive can pick the best integral representation for the serialization
of collection sizes. This is necessary since, although std::size_t
is guaranteed to be an integral type large enough to represent the size of
@@ -170,7 +170,7 @@ xml_oarchive & operator&(const boost::serialization::nvp & t)
end_tag(t.name());
}
-The most obvious and convient name to assign to as the XML data item name
+The most obvious and convenient name to assign to as the XML data item name
is - surprise! - the name of the C++ class data member. So our serialization
code will look like:
diff --git a/example/demo.cpp b/example/demo.cpp
index cfd21277..4095b136 100644
--- a/example/demo.cpp
+++ b/example/demo.cpp
@@ -28,20 +28,20 @@
// users of the serialization package. An attempt has been made
// to illustrate most of the facilities of the package.
//
-// The intent is to create an example suffciently complete to
+// The intent is to create an example sufficiently complete to
// illustrate the usage and utility of the package while
// including a minimum of other code.
//
// This illustration models the bus system of a small city.
// This includes, multiple bus stops, bus routes and schedules.
-// There are different kinds of stops. Bus stops in general will
+// There are different kinds of stops. Bus stops in general
// will appear on multiple routes. A schedule will include
-// muliple trips on the same route.
+// multiple trips on the same route.
/////////////////////////////////////////////////////////////
// gps coordinate
//
-// llustrates serialization for a simple type
+// illustrates serialization for a simple type
//
class gps_position
{
@@ -162,7 +162,7 @@ public:
//
// illustrates serialization of STL collection templates.
//
-// illustrates serialzation of polymorphic pointer (bus stop *);
+// illustrates serialization of polymorphic pointer (bus stop *);
//
// illustrates storage and recovery of shared pointers is correct
// and efficient. That is objects pointed to by more than one
@@ -233,7 +233,7 @@ public:
if(file_version >= 2)
// read the drivers name
ar & driver;
- // all versions have the follwing info
+ // all versions have the following info
ar & hour & minute;
}
@@ -326,7 +326,7 @@ int main(int argc, char *argv[])
"Lincoln Memorial"
);
- // make a routes
+ // make a route
bus_route route0;
route0.append(bs0);
route0.append(bs1);
@@ -337,7 +337,7 @@ int main(int argc, char *argv[])
original_schedule.append("bob", 9, 57, &route0);
original_schedule.append("alice", 11, 02, &route0);
- // make aother routes
+ // make another route
bus_route route1;
route1.append(bs3);
route1.append(bs2);
@@ -359,7 +359,7 @@ int main(int argc, char *argv[])
save_schedule(original_schedule, filename.c_str());
// ... some time later
- // make a new schedule
+ // make a new schedule
bus_schedule new_schedule;
restore_schedule(new_schedule, filename.c_str());
diff --git a/example/demo_exception.cpp b/example/demo_exception.cpp
index 84f881f9..54f1c4ba 100644
--- a/example/demo_exception.cpp
+++ b/example/demo_exception.cpp
@@ -127,7 +127,7 @@ private:
// case 1:
template
void School::serialize(Archive & ar, const unsigned int /* file_version */){
- // if an exeception occurs while loading courses
+ // if an exception occurs while loading courses
// the structure courses may have some courses each
// with students
ar & all_courses;
@@ -155,7 +155,7 @@ void School::save(Archive & ar, const unsigned int /* file_version */) const {
template
void School::load(Archive & ar, const unsigned int /* file_version */){
- // if an exeception occurs while loading courses
+ // if an exception occurs while loading courses
// the structure courses may have some courses each
// with students
try{
@@ -167,7 +167,7 @@ void School::load(Archive & ar, const unsigned int /* file_version */){
ar >> all_students; // create students that have no courses
}
catch(std::exception){
- // elminate any dangling references
+ // eliminate any dangling references
all_courses.clear();
all_students.clear();
throw;
diff --git a/example/demo_gps.hpp b/example/demo_gps.hpp
index 5f39cc04..07e1c453 100644
--- a/example/demo_gps.hpp
+++ b/example/demo_gps.hpp
@@ -23,14 +23,14 @@
// This illustration models the bus system of a small city.
// This includes, multiple bus stops, bus routes and schedules.
-// There are different kinds of stops. Bus stops in general will
+// There are different kinds of stops. Bus stops in general
// will appear on multiple routes. A schedule will include
-// muliple trips on the same route.
+// multiple trips on the same route.
/////////////////////////////////////////////////////////////
// gps coordinate
//
-// llustrates serialization for a simple type
+// illustrates serialization for a simple type
//
class gps_position
{
@@ -159,7 +159,7 @@ public:
//
// illustrates serialization of STL collection templates.
//
-// illustrates serialzation of polymorphic pointer (bus stop *);
+// illustrates serialization of polymorphic pointer (bus stop *);
//
// illustrates storage and recovery of shared pointers is correct
// and efficient. That is objects pointed to by more than one
@@ -236,7 +236,7 @@ public:
if(file_version >= 2)
// read the drivers name
ar & BOOST_SERIALIZATION_NVP(driver);
- // all versions have the follwing info
+ // all versions have the following info
ar & BOOST_SERIALIZATION_NVP(hour)
& BOOST_SERIALIZATION_NVP(minute);
}
diff --git a/example/demo_log.cpp b/example/demo_log.cpp
index eef40ec8..7999b735 100644
--- a/example/demo_log.cpp
+++ b/example/demo_log.cpp
@@ -40,7 +40,7 @@ int main(int argc, char *argv[]){
"Lincoln Memorial"
);
- // make a routes
+ // make a route
bus_route route0;
route0.append(bs0);
route0.append(bs1);
@@ -51,7 +51,7 @@ int main(int argc, char *argv[]){
schedule.append("bob", 9, 57, &route0);
schedule.append("alice", 11, 02, &route0);
- // make aother routes
+ // make another route
bus_route route1;
route1.append(bs3);
route1.append(bs2);
diff --git a/example/demo_pimpl_A.cpp b/example/demo_pimpl_A.cpp
index 055d02da..0be05276 100644
--- a/example/demo_pimpl_A.cpp
+++ b/example/demo_pimpl_A.cpp
@@ -32,8 +32,8 @@ void A::serialize(Archive & ar, const unsigned int /* file_version */){
ar & pimpl;
}
-// without the explicit instantiations below, the program will
-// fail to link for lack of instantiantiation of the above function
+// without the explicit instantiation below, the program will
+// fail to link for lack of instantiation of the above function
// note: the following failed to fix link errors for vc 7.0 !
template void A::serialize(
boost::archive::text_iarchive & ar,
diff --git a/example/demo_polymorphic.cpp b/example/demo_polymorphic.cpp
index 0a9c8566..eba9eec0 100644
--- a/example/demo_polymorphic.cpp
+++ b/example/demo_polymorphic.cpp
@@ -26,7 +26,7 @@ int main(int argc, char* argv[])
// test with a text archive
std::stringstream ss;
{
- // instantiate archive which inhertis polymorphic interface
+ // instantiate archive which inherits polymorphic interface
// and the normal text archive implementation
boost::archive::polymorphic_text_oarchive oa(ss);
boost::archive::polymorphic_oarchive & oa_interface = oa;
@@ -45,7 +45,7 @@ int main(int argc, char* argv[])
//test with a binary archive
std::stringstream ss;
{
- // instantiate archive which inhertis polymorphic interface
+ // instantiate archive which inherits polymorphic interface
// and the normal binary archive implementation
boost::archive::polymorphic_binary_oarchive oa(ss);
oa << a;
diff --git a/example/demo_simple_log.cpp b/example/demo_simple_log.cpp
index b6963c5b..8d77dd7a 100644
--- a/example/demo_simple_log.cpp
+++ b/example/demo_simple_log.cpp
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
"Lincoln Memorial"
);
- // make a routes
+ // make a route
bus_route route0;
route0.append(bs0);
route0.append(bs1);
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
schedule.append("bob", 9, 57, &route0);
schedule.append("alice", 11, 02, &route0);
- // make aother routes
+ // make another route
bus_route route1;
route1.append(bs3);
route1.append(bs2);
diff --git a/example/demo_trivial_archive.cpp b/example/demo_trivial_archive.cpp
index b82b1376..76fd8d76 100644
--- a/example/demo_trivial_archive.cpp
+++ b/example/demo_trivial_archive.cpp
@@ -60,7 +60,7 @@ int main(int argc, char *argv[])
"Lincoln Memorial"
);
- // make a routes
+ // make a route
bus_route route0;
route0.append(bs0);
route0.append(bs1);
@@ -71,7 +71,7 @@ int main(int argc, char *argv[])
schedule.append("bob", 9, 57, &route0);
schedule.append("alice", 11, 02, &route0);
- // make aother routes
+ // make another route
bus_route route1;
route1.append(bs3);
route1.append(bs2);
diff --git a/example/demo_xml.cpp b/example/demo_xml.cpp
index 4c8518e9..3441547b 100644
--- a/example/demo_xml.cpp
+++ b/example/demo_xml.cpp
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
"Lincoln Memorial"
);
- // make a routes
+ // make a route
bus_route route0;
route0.append(bs0);
route0.append(bs1);
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
original_schedule.append("bob", 9, 57, &route0);
original_schedule.append("alice", 11, 02, &route0);
- // make aother routes
+ // make another route
bus_route route1;
route1.append(bs3);
route1.append(bs2);
@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
save_schedule(original_schedule, filename.c_str());
// ... some time later
- // make a new schedule
+ // make a new schedule
bus_schedule new_schedule;
restore_schedule(new_schedule, filename.c_str());
diff --git a/example/demo_xml.hpp b/example/demo_xml.hpp
index 86d6c1b4..140ff801 100644
--- a/example/demo_xml.hpp
+++ b/example/demo_xml.hpp
@@ -23,14 +23,14 @@
// This illustration models the bus system of a small city.
// This includes, multiple bus stops, bus routes and schedules.
-// There are different kinds of stops. Bus stops in general will
+// There are different kinds of stops. Bus stops in general
// will appear on multiple routes. A schedule will include
-// muliple trips on the same route.
+// multiple trips on the same route.
/////////////////////////////////////////////////////////////
// gps coordinate
//
-// llustrates serialization for a simple type
+// illustrates serialization for a simple type
//
class gps_position
{
@@ -159,7 +159,7 @@ public:
//
// illustrates serialization of STL collection templates.
//
-// illustrates serialzation of polymorphic pointer (bus stop *);
+// illustrates serialization of polymorphic pointer (bus stop *);
//
// illustrates storage and recovery of shared pointers is correct
// and efficient. That is objects pointed to by more than one
@@ -236,7 +236,7 @@ public:
if(file_version >= 2)
// read the drivers name
ar & BOOST_SERIALIZATION_NVP(driver);
- // all versions have the follwing info
+ // all versions have the following info
ar & BOOST_SERIALIZATION_NVP(hour)
& BOOST_SERIALIZATION_NVP(minute);
}
diff --git a/example/demo_xml_save.cpp b/example/demo_xml_save.cpp
index 045d40ba..532f3791 100644
--- a/example/demo_xml_save.cpp
+++ b/example/demo_xml_save.cpp
@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
"Lincoln Memorial"
);
- // make a routes
+ // make a route
bus_route route0;
route0.append(bs0);
route0.append(bs1);
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
original_schedule.append("bob", 9, 57, &route0);
original_schedule.append("alice", 11, 02, &route0);
- // make aother routes
+ // make an other route
bus_route route1;
route1.append(bs3);
route1.append(bs2);
diff --git a/example/log_archive.hpp b/example/log_archive.hpp
index 0d7ffdbd..69eb68f3 100644
--- a/example/log_archive.hpp
+++ b/example/log_archive.hpp
@@ -27,7 +27,7 @@ namespace boost {
} // boost
/////////////////////////////////////////////////////////////////////////
-// log data to an output stream. This illustrates a simpler implemenation
+// log data to an output stream. This illustrates a simpler implementation
// of text output which is useful for getting a formatted display of
// any serializable class. Intended to be useful as a debugging aid.
class log_archive :
@@ -35,7 +35,7 @@ class log_archive :
public boost::archive::xml_oarchive_impl
{
typedef boost::archive::xml_oarchive_impl base;
- // give serialization implementation access to this clas
+ // give serialization implementation access to this class
friend class boost::archive::detail::interface_oarchive;
friend class boost::archive::basic_xml_oarchive;
friend class boost::archive::save_access;
diff --git a/example/portable_binary_iarchive.hpp b/example/portable_binary_iarchive.hpp
index de7f287f..95c2e84d 100644
--- a/example/portable_binary_iarchive.hpp
+++ b/example/portable_binary_iarchive.hpp
@@ -62,7 +62,7 @@ public:
};
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// "Portable" input binary archive. It addresses integer size and endienness so
+// "Portable" input binary archive. It addresses integer size and endianness so
// that binary archives can be passed across systems. Note:floating point types
// not addressed here
class portable_binary_iarchive :
diff --git a/example/portable_binary_oarchive.hpp b/example/portable_binary_oarchive.hpp
index 5085fc3d..705f5b06 100644
--- a/example/portable_binary_oarchive.hpp
+++ b/example/portable_binary_oarchive.hpp
@@ -57,7 +57,7 @@ public:
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// "Portable" output binary archive. This is a variation of the native binary
-// archive. it addresses integer size and endienness so that binary archives can
+// archive. it addresses integer size and endianness so that binary archives can
// be passed across systems. Note:floating point types not addressed here
class portable_binary_oarchive :
diff --git a/example/simple_log_archive.hpp b/example/simple_log_archive.hpp
index a4ef9c03..2609b9c2 100644
--- a/example/simple_log_archive.hpp
+++ b/example/simple_log_archive.hpp
@@ -37,7 +37,7 @@ namespace std{
#include
/////////////////////////////////////////////////////////////////////////
-// log data to an output stream. This illustrates a simpler implemenation
+// log data to an output stream. This illustrates a simpler implementation
// of text output which is useful for getting a formatted display of
// any serializable class. Intended to be useful as a debugging aid.
class simple_log_archive {
diff --git a/include/boost/archive/basic_archive.hpp b/include/boost/archive/basic_archive.hpp
index 381a1275..d3c1e280 100644
--- a/include/boost/archive/basic_archive.hpp
+++ b/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;
}
diff --git a/include/boost/archive/basic_binary_iarchive.hpp b/include/boost/archive/basic_binary_iarchive.hpp
index 2ec90ce0..89a5ca1a 100644
--- a/include/boost/archive/basic_binary_iarchive.hpp
+++ b/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 detail_common_iarchive;
template
void load_override(T & t){
diff --git a/include/boost/archive/basic_binary_iprimitive.hpp b/include/boost/archive/basic_binary_iprimitive.hpp
index a2902407..f197ead0 100644
--- a/include/boost/archive/basic_binary_iprimitive.hpp
+++ b/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
void load(T & t){
load_binary(& t, sizeof(T));
diff --git a/include/boost/archive/basic_binary_oarchive.hpp b/include/boost/archive/basic_binary_oarchive.hpp
index 61bd8faa..92bab36d 100644
--- a/include/boost/archive/basic_binary_oarchive.hpp
+++ b/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 BOOST_SYMBOL_VISIBLE basic_binary_oarchive :
@@ -73,7 +73,7 @@ protected:
friend class detail::interface_oarchive;
#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 detail_common_oarchive;
template
void save_override(const T & t){
diff --git a/include/boost/archive/basic_binary_oprimitive.hpp b/include/boost/archive/basic_binary_oprimitive.hpp
index 6c5e8e5e..bf44ac50 100644
--- a/include/boost/archive/basic_binary_oprimitive.hpp
+++ b/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 BOOST_SYMBOL_VISIBLE basic_binary_oprimitive {
@@ -156,7 +156,7 @@ basic_binary_oprimitive::save_binary(
// BOOST_ASSERT(count <= std::size_t(boost::integer_traits::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(
diff --git a/include/boost/archive/basic_text_oprimitive.hpp b/include/boost/archive/basic_text_oprimitive.hpp
index adc0e896..7559f816 100644
--- a/include/boost/archive/basic_text_oprimitive.hpp
+++ b/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 BOOST_SYMBOL_VISIBLE basic_text_oprimitive
{
@@ -159,7 +159,7 @@ 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
diff --git a/include/boost/archive/binary_iarchive.hpp b/include/boost/archive/binary_iarchive.hpp
index 5052631a..78e3e9a5 100644
--- a/include/boost/archive/binary_iarchive.hpp
+++ b/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<
diff --git a/include/boost/archive/binary_oarchive.hpp b/include/boost/archive/binary_oarchive.hpp
index ba775d5c..7197e7d5 100644
--- a/include/boost/archive/binary_oarchive.hpp
+++ b/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<
diff --git a/include/boost/archive/binary_woarchive.hpp b/include/boost/archive/binary_woarchive.hpp
index 6735ceba..227fa956 100644
--- a/include/boost/archive/binary_woarchive.hpp
+++ b/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<
diff --git a/include/boost/archive/detail/archive_serializer_map.hpp b/include/boost/archive/detail/archive_serializer_map.hpp
index 1e94e258..6c12dcce 100644
--- a/include/boost/archive/detail/archive_serializer_map.hpp
+++ b/include/boost/archive/detail/archive_serializer_map.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// archive_serializer_map.hpp: extenstion of type_info required for
+// archive_serializer_map.hpp: extension of type_info required for
// serialization.
// (C) Copyright 2009 Robert Ramey - http://www.rrsd.com .
@@ -17,7 +17,7 @@
// See http://www.boost.org for updates, documentation, and revision history.
-// note: this is nothing more than the thinest of wrappers around
+// note: this is nothing more than the thinnest of wrappers around
// basic_serializer_map so we can have a one map / archive type.
#include
diff --git a/include/boost/archive/detail/basic_iserializer.hpp b/include/boost/archive/detail/basic_iserializer.hpp
index 98c9c474..e70fb65c 100644
--- a/include/boost/archive/detail/basic_iserializer.hpp
+++ b/include/boost/archive/detail/basic_iserializer.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// basic_iserializer.hpp: extenstion of type_info required for serialization.
+// basic_iserializer.hpp: extension of type_info required for serialization.
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
@@ -78,7 +78,7 @@ public:
virtual void destroy(/*const*/ void *address) const = 0 ;
};
-} // namespae detail
+} // namespace detail
} // namespace archive
} // namespace boost
diff --git a/include/boost/archive/detail/basic_oserializer.hpp b/include/boost/archive/detail/basic_oserializer.hpp
index b3f95677..b9d31969 100644
--- a/include/boost/archive/detail/basic_oserializer.hpp
+++ b/include/boost/archive/detail/basic_oserializer.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// basic_oserializer.hpp: extenstion of type_info required for serialization.
+// basic_oserializer.hpp: extension of type_info required for serialization.
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
diff --git a/include/boost/archive/detail/basic_pointer_iserializer.hpp b/include/boost/archive/detail/basic_pointer_iserializer.hpp
index be805a42..a499393f 100644
--- a/include/boost/archive/detail/basic_pointer_iserializer.hpp
+++ b/include/boost/archive/detail/basic_pointer_iserializer.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// basic_pointer_oserializer.hpp: extenstion of type_info required for
+// basic_pointer_oserializer.hpp: extension of type_info required for
// serialization.
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
diff --git a/include/boost/archive/detail/basic_pointer_oserializer.hpp b/include/boost/archive/detail/basic_pointer_oserializer.hpp
index 86376568..58aec577 100644
--- a/include/boost/archive/detail/basic_pointer_oserializer.hpp
+++ b/include/boost/archive/detail/basic_pointer_oserializer.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// basic_pointer_oserializer.hpp: extenstion of type_info required for
+// basic_pointer_oserializer.hpp: extension of type_info required for
// serialization.
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
diff --git a/include/boost/archive/detail/basic_serializer.hpp b/include/boost/archive/detail/basic_serializer.hpp
index 9c2535bf..30db6515 100644
--- a/include/boost/archive/detail/basic_serializer.hpp
+++ b/include/boost/archive/detail/basic_serializer.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// basic_serializer.hpp: extenstion of type_info required for serialization.
+// basic_serializer.hpp: extension of type_info required for serialization.
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
diff --git a/include/boost/archive/detail/basic_serializer_map.hpp b/include/boost/archive/detail/basic_serializer_map.hpp
index 78c6a52d..07408cbc 100644
--- a/include/boost/archive/detail/basic_serializer_map.hpp
+++ b/include/boost/archive/detail/basic_serializer_map.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// basic_serializer_map.hpp: extenstion of type_info required for serialization.
+// basic_serializer_map.hpp: extension of type_info required for serialization.
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
diff --git a/include/boost/archive/detail/check.hpp b/include/boost/archive/detail/check.hpp
index 5bf0a48b..27d1db97 100644
--- a/include/boost/archive/detail/check.hpp
+++ b/include/boost/archive/detail/check.hpp
@@ -94,7 +94,7 @@ inline void check_object_tracking(){
// may be an indicator of an error usage of the
// serialization library and should be double checked.
// See documentation on object tracking. Also, see the
- // "rationale" section of the documenation
+ // "rationale" section of the documentation
// for motivation for this checking.
BOOST_STATIC_WARNING(typex::value);
diff --git a/include/boost/archive/detail/iserializer.hpp b/include/boost/archive/detail/iserializer.hpp
index b1a9d438..5ce3031e 100644
--- a/include/boost/archive/detail/iserializer.hpp
+++ b/include/boost/archive/detail/iserializer.hpp
@@ -169,7 +169,7 @@ BOOST_DLLEXPORT void iserializer::load_object_data(
void *x,
const unsigned int file_version
) const {
- // note: we now comment this out. Before we permited archive
+ // note: we now comment this out. Before we permitted archive
// version # to be very large. Now we don't. To permit
// readers of these old archives, we have to suppress this
// code. Perhaps in the future we might re-enable it but
@@ -184,7 +184,7 @@ BOOST_DLLEXPORT void iserializer::load_object_data(
)
);
#endif
- // make sure call is routed through the higest interface that might
+ // make sure call is routed through the highest interface that might
// be specialized by the user.
boost::serialization::serialize_adl(
boost::serialization::smart_cast_reference(ar),
@@ -308,7 +308,7 @@ private:
const unsigned int file_version
) const BOOST_OVERRIDE BOOST_USED;
public:
- // this should alway be a singleton so make the constructor protected
+ // this should always be a singleton so make the constructor protected
pointer_iserializer();
~pointer_iserializer() BOOST_OVERRIDE;
};
@@ -392,7 +392,7 @@ struct load_non_pointer_type {
template
static void invoke(Archive & ar, const T & t){
// short cut to user's serializer
- // make sure call is routed through the higest interface that might
+ // make sure call is routed through the highest interface that might
// be specialized by the user.
boost::serialization::serialize_adl(
ar,
@@ -589,7 +589,7 @@ struct load_array_type {
boost::archive::archive_exception::array_size_too_short
)
);
- // explict template arguments to pass intel C++ compiler
+ // explicit template arguments to pass intel C++ compiler
ar >> serialization::make_array<
value_type,
boost::serialization::collection_size_type
diff --git a/include/boost/archive/detail/oserializer.hpp b/include/boost/archive/detail/oserializer.hpp
index f6a77edf..754fe97c 100644
--- a/include/boost/archive/detail/oserializer.hpp
+++ b/include/boost/archive/detail/oserializer.hpp
@@ -509,7 +509,7 @@ struct save_array_type
);
boost::serialization::collection_size_type count(c);
ar << BOOST_SERIALIZATION_NVP(count);
- // explict template arguments to pass intel C++ compiler
+ // explicit template arguments to pass intel C++ compiler
ar << serialization::make_array<
const value_type,
boost::serialization::collection_size_type
diff --git a/include/boost/archive/iterators/base64_from_binary.hpp b/include/boost/archive/iterators/base64_from_binary.hpp
index bd0b38fa..99be6ce6 100644
--- a/include/boost/archive/iterators/base64_from_binary.hpp
+++ b/include/boost/archive/iterators/base64_from_binary.hpp
@@ -84,7 +84,7 @@ class base64_from_binary :
> super_t;
public:
- // make composible buy using templated constructor
+ // make composable by using templated constructor
template
base64_from_binary(T start) :
super_t(
diff --git a/include/boost/archive/iterators/binary_from_base64.hpp b/include/boost/archive/iterators/binary_from_base64.hpp
index 5aeccb3a..926eba0d 100644
--- a/include/boost/archive/iterators/binary_from_base64.hpp
+++ b/include/boost/archive/iterators/binary_from_base64.hpp
@@ -93,7 +93,7 @@ class binary_from_base64 : public
Base
> super_t;
public:
- // make composible buy using templated constructor
+ // make composable by using templated constructor
template
binary_from_base64(T start) :
super_t(
diff --git a/include/boost/archive/iterators/insert_linebreaks.hpp b/include/boost/archive/iterators/insert_linebreaks.hpp
index c75ea841..a52d3f05 100644
--- a/include/boost/archive/iterators/insert_linebreaks.hpp
+++ b/include/boost/archive/iterators/insert_linebreaks.hpp
@@ -79,7 +79,7 @@ private:
}
unsigned int m_count;
public:
- // make composible buy using templated constructor
+ // make composable by using templated constructor
template
insert_linebreaks(T start) :
super_t(Base(static_cast< T >(start))),
diff --git a/include/boost/archive/iterators/mb_from_wchar.hpp b/include/boost/archive/iterators/mb_from_wchar.hpp
index dbd17b7c..5d970a4b 100644
--- a/include/boost/archive/iterators/mb_from_wchar.hpp
+++ b/include/boost/archive/iterators/mb_from_wchar.hpp
@@ -117,7 +117,7 @@ class mb_from_wchar
bool m_full;
public:
- // make composible buy using templated constructor
+ // make composable by using templated constructor
template
mb_from_wchar(T start) :
super_t(Base(static_cast< T >(start))),
diff --git a/include/boost/archive/iterators/remove_whitespace.hpp b/include/boost/archive/iterators/remove_whitespace.hpp
index eb756f37..bb549a8b 100644
--- a/include/boost/archive/iterators/remove_whitespace.hpp
+++ b/include/boost/archive/iterators/remove_whitespace.hpp
@@ -149,7 +149,7 @@ class remove_whitespace :
> super_t;
public:
// remove_whitespace(){} // why is this needed?
- // make composible buy using templated constructor
+ // make composable by using templated constructor
template
remove_whitespace(T start) :
super_t(Base(static_cast< T >(start)))
diff --git a/include/boost/archive/iterators/transform_width.hpp b/include/boost/archive/iterators/transform_width.hpp
index 162dccfa..d1511912 100644
--- a/include/boost/archive/iterators/transform_width.hpp
+++ b/include/boost/archive/iterators/transform_width.hpp
@@ -106,7 +106,7 @@ class transform_width :
bool m_end_of_sequence;
public:
- // make composible buy using templated constructor
+ // make composable by using templated constructor
template
transform_width(T start) :
super_t(Base(static_cast< T >(start))),
diff --git a/include/boost/archive/iterators/wchar_from_mb.hpp b/include/boost/archive/iterators/wchar_from_mb.hpp
index 6067245d..65542b62 100644
--- a/include/boost/archive/iterators/wchar_from_mb.hpp
+++ b/include/boost/archive/iterators/wchar_from_mb.hpp
@@ -124,7 +124,7 @@ class wchar_from_mb
sliding_buffer::type> m_output;
public:
- // make composible buy using templated constructor
+ // make composable by using templated constructor
template
wchar_from_mb(T start) :
super_t(Base(static_cast< T >(start))),
diff --git a/include/boost/archive/iterators/xml_unescape.hpp b/include/boost/archive/iterators/xml_unescape.hpp
index 7fc9fd5f..1dc51685 100644
--- a/include/boost/archive/iterators/xml_unescape.hpp
+++ b/include/boost/archive/iterators/xml_unescape.hpp
@@ -79,7 +79,7 @@ void xml_unescape ::drain_residue(const char * literal){
// note key constraint on this function is that can't "look ahead" any
// more than necessary into base iterator. Doing so would alter the base
-// iterator refenence which would make subsequent iterator comparisons
+// iterator reference which would make subsequent iterator comparisons
// incorrect and thereby break the composiblity of iterators.
template
typename xml_unescape ::value_type
diff --git a/include/boost/serialization/array.hpp b/include/boost/serialization/array.hpp
index c038cf04..4b59ebbc 100644
--- a/include/boost/serialization/array.hpp
+++ b/include/boost/serialization/array.hpp
@@ -8,7 +8,7 @@
// for serialization of . If not supported by the standard
// library - this file becomes empty. This is to avoid breaking backward
-// compatibiliy for applications which used this header to support
+// compatibility for applications which used this header to support
// serialization of native arrays. Code to serialize native arrays is
// now always include by default. RR
diff --git a/include/boost/serialization/array_wrapper.hpp b/include/boost/serialization/array_wrapper.hpp
index 73e277c0..fc2aad3a 100644
--- a/include/boost/serialization/array_wrapper.hpp
+++ b/include/boost/serialization/array_wrapper.hpp
@@ -52,7 +52,7 @@ public:
template
void serialize_optimized(Archive &ar, const unsigned int, mpl::false_ ) const
{
- // default implemention does the loop
+ // default implementation does the loop
std::size_t c = count();
T * t = address();
while(0 < c--)
diff --git a/include/boost/serialization/collection_traits.hpp b/include/boost/serialization/collection_traits.hpp
index 58dd9326..a54019eb 100644
--- a/include/boost/serialization/collection_traits.hpp
+++ b/include/boost/serialization/collection_traits.hpp
@@ -16,7 +16,7 @@
// See http://www.boost.org for updates, documentation, and revision history.
-// This header assigns a level implemenation trait to a collection type
+// This header assigns a level implementation trait to a collection type
// for all primitives. It is needed so that archives which are meant to be
// portable don't write class information in the archive. Since, not all
// compiles recognize the same set of primitive types, the possibility
diff --git a/include/boost/serialization/detail/is_default_constructible.hpp b/include/boost/serialization/detail/is_default_constructible.hpp
index f5a79512..477129d0 100644
--- a/include/boost/serialization/detail/is_default_constructible.hpp
+++ b/include/boost/serialization/detail/is_default_constructible.hpp
@@ -28,7 +28,7 @@
struct is_default_constructible : public std::is_default_constructible {};
} // detail
- } // serializaition
+ } // serialization
} // boost
#else
// we don't have standard library support for is_default_constructible
@@ -45,7 +45,7 @@
struct is_default_constructible : public boost::has_trivial_constructor {};
} // detail
- } // serializaition
+ } // serialization
} // boost
#endif
diff --git a/include/boost/serialization/detail/stack_constructor.hpp b/include/boost/serialization/detail/stack_constructor.hpp
index b545a283..19719ab8 100644
--- a/include/boost/serialization/detail/stack_constructor.hpp
+++ b/include/boost/serialization/detail/stack_constructor.hpp
@@ -60,7 +60,7 @@ struct stack_construct : public stack_allocate
};
} // detail
-} // serializaition
+} // serialization
} // boost
#endif // BOOST_SERIALIZATION_DETAIL_STACH_CONSTRUCTOR_HPP
diff --git a/include/boost/serialization/export.hpp b/include/boost/serialization/export.hpp
index 2b856ea4..dfd573bc 100644
--- a/include/boost/serialization/export.hpp
+++ b/include/boost/serialization/export.hpp
@@ -125,7 +125,7 @@ struct guid_initializer
guid_initializer const & export_guid() const {
BOOST_STATIC_WARNING(boost::is_polymorphic< T >::value);
// note: exporting an abstract base class will have no effect
- // and cannot be used to instantitiate serialization code
+ // and cannot be used to instantiate serialization code
// (one might be using this in a DLL to instantiate code)
//BOOST_STATIC_WARNING(! boost::serialization::is_abstract< T >::value);
export_guid(boost::serialization::is_abstract< T >());
diff --git a/include/boost/serialization/extended_type_info_no_rtti.hpp b/include/boost/serialization/extended_type_info_no_rtti.hpp
index 5050ff17..2a8671d9 100644
--- a/include/boost/serialization/extended_type_info_no_rtti.hpp
+++ b/include/boost/serialization/extended_type_info_no_rtti.hpp
@@ -111,8 +111,8 @@ public:
// find the type that corresponds to the most derived type.
// this implementation doesn't depend on typeid() but assumes
// that the specified type has a function of the following signature.
- // A common implemention of such a function is to define as a virtual
- // function. So if the is not a polymorphic type it's likely an error
+ // A common implementation of such a function is to define as a virtual
+ // function. So if the type is not a polymorphic type it's likely an error
BOOST_STATIC_WARNING(boost::is_polymorphic< T >::value);
const char * derived_key = t.get_key();
BOOST_ASSERT(NULL != derived_key);
diff --git a/include/boost/serialization/extended_type_info_typeid.hpp b/include/boost/serialization/extended_type_info_typeid.hpp
index 9711b17b..656950a6 100644
--- a/include/boost/serialization/extended_type_info_typeid.hpp
+++ b/include/boost/serialization/extended_type_info_typeid.hpp
@@ -96,7 +96,7 @@ public:
type_unregister();
}
// get the eti record for the true type of this record
- // relying upon standard type info implemenation (rtti)
+ // relying upon standard type info implementation (rtti)
const extended_type_info *
get_derived_extended_type_info(const T & t) const {
// note: this implementation - based on usage of typeid (rtti)
diff --git a/include/boost/serialization/force_include.hpp b/include/boost/serialization/force_include.hpp
index a418b0ec..022279d1 100644
--- a/include/boost/serialization/force_include.hpp
+++ b/include/boost/serialization/force_include.hpp
@@ -18,7 +18,7 @@
#include
-// the following help macro is to guarentee that certain coded
+// the following help macro is to guarantee that certain coded
// is not removed by over-eager linker optimiser. In certain cases
// we create static objects must be created but are actually never
// referenced - creation has a side-effect such as global registration
diff --git a/include/boost/serialization/nvp.hpp b/include/boost/serialization/nvp.hpp
index 88cecc8b..cad0f949 100644
--- a/include/boost/serialization/nvp.hpp
+++ b/include/boost/serialization/nvp.hpp
@@ -126,7 +126,7 @@ struct is_wrapper > {
};
-} // seralization
+} // serialization
} // boost
diff --git a/include/boost/serialization/serialization.hpp b/include/boost/serialization/serialization.hpp
index 79d6412d..73fd5adb 100644
--- a/include/boost/serialization/serialization.hpp
+++ b/include/boost/serialization/serialization.hpp
@@ -27,7 +27,7 @@
// public interface to serialization.
/////////////////////////////////////////////////////////////////////////////
-// layer 0 - intrusive verison
+// layer 0 - intrusive version
// declared and implemented for each user defined class to be serialized
//
// template
diff --git a/include/boost/serialization/shared_ptr_helper.hpp b/include/boost/serialization/shared_ptr_helper.hpp
index ba9a07a0..e5542534 100644
--- a/include/boost/serialization/shared_ptr_helper.hpp
+++ b/include/boost/serialization/shared_ptr_helper.hpp
@@ -7,7 +7,7 @@
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// shared_ptr_helper.hpp: serialization for boost shared pointern
+// shared_ptr_helper.hpp: serialization for boost shared pointer
// (C) Copyright 2004-2009 Robert Ramey, Martin Ecker and Takatoshi Kondo
// Use, modification and distribution is subject to the Boost Software
@@ -57,7 +57,7 @@ class shared_ptr_helper {
SPT // address shared ptr to single instance
> object_shared_pointer_map;
- // list of shared_pointers create accessable by raw pointer. This
+ // list of shared_pointers create accessible by raw pointer. This
// is used to "match up" shared pointers loaded at different
// points in the archive. Note, we delay construction until
// it is actually used since this is by default included as
@@ -85,7 +85,7 @@ public:
// list of loaded pointers. This is used to be sure that the pointers
// stay around long enough to be "matched" with other pointers loaded
// by the same archive. These are created with a "null_deleter" so that
- // when this list is destroyed - the underlaying raw pointers are not
+ // when this list is destroyed - the underlying raw pointers are not
// destroyed. This has to be done because the pointers are also held by
// new system which is disjoint from this set. This is implemented
// by a change in load_construct_data below. It makes this file suitable
@@ -132,7 +132,7 @@ public:
::get_const_instance();
// get pointer to the most derived object's eti. This is effectively
- // the object type identifer
+ // the object type identifier
typedef typename mpl::if_<
is_polymorphic< T >,
polymorphic,
@@ -142,7 +142,7 @@ public:
const boost::serialization::extended_type_info * true_type
= type::get_object_type(*t);
- // note:if this exception is thrown, be sure that derived pointern
+ // note:if this exception is thrown, be sure that derived pointer
// is either registered or exported.
if(NULL == true_type)
boost::serialization::throw_exception(
diff --git a/include/boost/serialization/singleton.hpp b/include/boost/serialization/singleton.hpp
index 427e1bbd..e2c78a15 100644
--- a/include/boost/serialization/singleton.hpp
+++ b/include/boost/serialization/singleton.hpp
@@ -26,7 +26,7 @@
// a) Initialize dynamically when used.
// b) Require that all singletons be initialized before main
// is called or any entry point into the shared library is invoked.
-// This guarentees no race condition for initialization.
+// This guarantees no race condition for initialization.
// In debug mode, we assert that no non-const functions are called
// after main is invoked.
//
@@ -87,7 +87,7 @@ namespace serialization {
// 1 (Recommended): Publicly inherit your type T from singleton,
// make its ctor protected and access it via T::get_const_instance()
// 2: Simply access singleton without changing T. Note that this only
-// provides a global instance accesible by singleton::get_const_instance()
+// provides a global instance accessible by singleton::get_const_instance()
// or singleton::get_mutable_instance() to prevent using multiple instances
// of T make its ctor protected
@@ -130,9 +130,9 @@ namespace detail {
// for singleton as a class derived from singleton could be
// instantiated multiple times.
// It also provides a flag `is_destroyed` which returns true, when the
-// class was destructed. It is static and hence accesible even after
+// class was destructed. It is static and hence accessible even after
// destruction. This can be used to check, if the singleton is still
-// accesible e.g. in destructors of other singletons.
+// accessible e.g. in destructors of other singletons.
template
class singleton_wrapper : public T
{
@@ -175,9 +175,9 @@ private:
// construct the instance at pre-execution time. This would prevent
// our usage/implementation of "locking" and introduce uncertainty into
// the sequence of object initialization.
- // Unfortunately, this triggers detectors of undefine behavior
- // and reports an error. But I've been unable to find a different
- // of guarenteeing that the the singleton is created at pre-main time.
+ // Unfortunately, this triggers detectors of undefined behavior
+ // and reports an error. But I've been unable to find a different way
+ // of guaranteeing that the the singleton is created at pre-main time.
if (m_instance) use(* m_instance);
return static_cast(t);
diff --git a/include/boost/serialization/split_member.hpp b/include/boost/serialization/split_member.hpp
index c6a59f1b..65c62947 100644
--- a/include/boost/serialization/split_member.hpp
+++ b/include/boost/serialization/split_member.hpp
@@ -72,7 +72,7 @@ inline void split_member(
} // namespace serialization
} // namespace boost
-// split member function serialize funcition into save/load
+// split member function serialize function into save/load
#define BOOST_SERIALIZATION_SPLIT_MEMBER() \
template \
void serialize( \
diff --git a/include/boost/serialization/static_warning.hpp b/include/boost/serialization/static_warning.hpp
index a1b6899e..f803a2a5 100644
--- a/include/boost/serialization/static_warning.hpp
+++ b/include/boost/serialization/static_warning.hpp
@@ -48,8 +48,8 @@
// unreferenced variable of this type generates a warning iff B is false.
// 3. static_warning_impl::type overloads operator& to return a dynamically
// allocated int pointer only is B is true, so returning the address of an
-// automatic variable of this type generates a warning iff B is fasle.
-// 4. static_warning_impl::STATIC_WARNING is decalred as a struct iff B is
+// automatic variable of this type generates a warning iff B is false.
+// 4. static_warning_impl::STATIC_WARNING is declared as a struct iff B is
// false.
// 5. static_warning_impl::type is incomplete iff B is false, so deleting a
// pointer to this type generates a warning iff B is false.
diff --git a/include/boost/serialization/strong_typedef.hpp b/include/boost/serialization/strong_typedef.hpp
index 2770ae45..b6003a4c 100644
--- a/include/boost/serialization/strong_typedef.hpp
+++ b/include/boost/serialization/strong_typedef.hpp
@@ -18,7 +18,7 @@
// See http://www.boost.org/libs/serialization for updates, documentation, and revision history.
// macro used to implement a strong typedef. strong typedef
-// guarentees that two types are distinguised even though the
+// guarantees that two types are distinguished even though they
// share the same underlying implementation. typedef does not create
// a new type. BOOST_STRONG_TYPEDEF(T, D) creates a new type named D
// that operates as a type T.
diff --git a/include/boost/serialization/tracking.hpp b/include/boost/serialization/tracking.hpp
index 89334074..94950702 100644
--- a/include/boost/serialization/tracking.hpp
+++ b/include/boost/serialization/tracking.hpp
@@ -107,7 +107,7 @@ struct tracking_level< T > \
/* tracking for a class */ \
BOOST_STATIC_ASSERT(( \
mpl::greater< \
- /* that is a prmitive */ \
+ /* that is a primitive */ \
implementation_level< T >, \
mpl::int_ \
>::value \
diff --git a/include/boost/serialization/traits.hpp b/include/boost/serialization/traits.hpp
index 45e0c93f..d361f156 100644
--- a/include/boost/serialization/traits.hpp
+++ b/include/boost/serialization/traits.hpp
@@ -18,11 +18,11 @@
// This header is used to apply serialization traits to templates. The
// standard system can't be used for platforms which don't support
-// Partial Templlate Specialization.
+// Partial Template Specialization.
// The motivation for this is the Name-Value Pair (NVP) template.
// it has to work the same on all platforms in order for archives
-// to be portable accross platforms.
+// to be portable across platforms.
#include
#include
diff --git a/include/boost/serialization/valarray.hpp b/include/boost/serialization/valarray.hpp
index af9834ae..1d3e099d 100644
--- a/include/boost/serialization/valarray.hpp
+++ b/include/boost/serialization/valarray.hpp
@@ -46,7 +46,7 @@ void save( Archive & ar, const STD::valarray &t, const unsigned int /*file_ve
const collection_size_type count(t.size());
ar << BOOST_SERIALIZATION_NVP(count);
if (t.size()){
- // explict template arguments to pass intel C++ compiler
+ // explicit template arguments to pass intel C++ compiler
ar << serialization::make_array(
static_cast( boost::addressof(t[0]) ),
count
@@ -61,7 +61,7 @@ void load( Archive & ar, STD::valarray &t, const unsigned int /*file_version
ar >> BOOST_SERIALIZATION_NVP(count);
t.resize(count);
if (t.size()){
- // explict template arguments to pass intel C++ compiler
+ // explicit template arguments to pass intel C++ compiler
ar >> serialization::make_array(
static_cast( boost::addressof(t[0]) ),
count
diff --git a/include/boost/serialization/vector.hpp b/include/boost/serialization/vector.hpp
index 44e08e62..01404bce 100644
--- a/include/boost/serialization/vector.hpp
+++ b/include/boost/serialization/vector.hpp
@@ -102,7 +102,7 @@ inline void save(
const collection_size_type count(t.size());
ar << BOOST_SERIALIZATION_NVP(count);
if (!t.empty())
- // explict template arguments to pass intel C++ compiler
+ // explicit template arguments to pass intel C++ compiler
ar << serialization::make_array(
static_cast(&t[0]),
count
@@ -124,7 +124,7 @@ inline void load(
ar >> BOOST_SERIALIZATION_NVP(item_version);
}
if (!t.empty())
- // explict template arguments to pass intel C++ compiler
+ // explicit template arguments to pass intel C++ compiler
ar >> serialization::make_array(
static_cast(&t[0]),
count
diff --git a/include/boost/serialization/version.hpp b/include/boost/serialization/version.hpp
index 6299ada2..076c859e 100644
--- a/include/boost/serialization/version.hpp
+++ b/include/boost/serialization/version.hpp
@@ -64,7 +64,7 @@ const int version::value;
* as an error an attempt to set a version # for a class which doesn't
* save its class information (including version #) in the archive.
* However, this imposes a requirement that the version be set after
- * the implemention level which would be pretty confusing. If this
+ * the implementation level which would be pretty confusing. If this
* is to be done, do this check in the input or output operators when
* ALL the serialization traits are available. Included the implementation
* here with this comment as a reminder not to do this!
diff --git a/performance/performance_no_rtti.cpp b/performance/performance_no_rtti.cpp
index bebafe78..925a0bd8 100644
--- a/performance/performance_no_rtti.cpp
+++ b/performance/performance_no_rtti.cpp
@@ -124,7 +124,7 @@ void save_derived(const char *testfile)
oa << BOOST_SERIALIZATION_NVP(rd1);
oa << BOOST_SERIALIZATION_NVP(rd2);
- // the above opereration registers the derived classes as a side
+ // the above operation registers the derived classes as a side
// effect. Hence, instances can now be correctly serialized through
// a base class pointer.
polymorphic_base *rb1 = rd1;
@@ -168,7 +168,7 @@ void load_derived(const char *testfile)
polymorphic_base *rb1 = NULL;
polymorphic_base *rb2 = NULL;
- // the above opereration registers the derived classes as a side
+ // the above operation registers the derived classes as a side
// effect. Hence, instances can now be correctly serialized through
// a base class pointer.
ia >> BOOST_SERIALIZATION_NVP(rb1);
diff --git a/performance/performance_utf8_codecvt.cpp b/performance/performance_utf8_codecvt.cpp
index 43c536fb..7ee966d2 100644
--- a/performance/performance_utf8_codecvt.cpp
+++ b/performance/performance_utf8_codecvt.cpp
@@ -145,7 +145,7 @@ test_main(int /* argc */, char * /* argv */[]) {
}
}
- // compare the data read back in with the orginal
+ // compare the data read back in with the original
#if ! defined(BOOST_BORLANDC)
// borland 5.60 complains about this
BOOST_CHECK(from_file.size() == sizeof(td::wchar_encoding)/sizeof(wchar_t));
diff --git a/performance/portable_binary_archive.hpp b/performance/portable_binary_archive.hpp
index c1377c92..19d0f42f 100644
--- a/performance/portable_binary_archive.hpp
+++ b/performance/portable_binary_archive.hpp
@@ -13,7 +13,7 @@ typedef portable_binary_oarchive test_oarchive;
// and corresponding stream
typedef std::ofstream test_ostream;
-// repeat the above for correspondng input archive
+// repeat the above for corresponding input archive
#include "../example/portable_binary_iarchive.hpp"
typedef portable_binary_iarchive test_iarchive;
typedef std::ifstream test_istream;
diff --git a/performance/xml/high_resolution_timer.hpp b/performance/xml/high_resolution_timer.hpp
index afa5495d..81ed5541 100644
--- a/performance/xml/high_resolution_timer.hpp
+++ b/performance/xml/high_resolution_timer.hpp
@@ -484,6 +484,6 @@ namespace xml {
// * seconds and *decrement* the microseconds field. Consequently
// * when subtracting these unsigned microseconds fields a wrap-around
// * error can occur. For this reason elapsed(t1, t0) is used in a
-// * similar maner to cycle.h this preserves the sign of the
+// * similar manner to cycle.h this preserves the sign of the
// * difference.
//
diff --git a/src/basic_archive.cpp b/src/basic_archive.cpp
index a57fe31c..01e02a88 100644
--- a/src/basic_archive.cpp
+++ b/src/basic_archive.cpp
@@ -52,7 +52,7 @@ BOOST_ARCHIVE_SIGNATURE(){
// versions of this library
// 1 - initial version
// 2 - made address tracking optional
-// 3 - numerous changes - can't guarentee compatibility with previous versions
+// 3 - numerous changes - can't guarantee compatibility with previous versions
// 4 - Boost 1.34
// added item_version to properly support versioning for collections
// 5 - Boost 1.36
@@ -80,7 +80,7 @@ BOOST_ARCHIVE_SIGNATURE(){
// 16- eliminated dependency on which is buggy in some libraries
// and now officially deprecated in the standard
// 17- Boost 1.68 August 2018
-// 18- addressed undefined behavior in archive constuctors.
+// 18- addressed undefined behavior in archive constructors.
// init() called from base wrote archive header before archive
// was fully constructed.
// Boost 1.76
diff --git a/src/basic_iarchive.cpp b/src/basic_iarchive.cpp
index 5a8f1a9d..f427109b 100644
--- a/src/basic_iarchive.cpp
+++ b/src/basic_iarchive.cpp
@@ -167,7 +167,7 @@ class basic_iarchive_impl {
cobject_id_vector_type cobject_id_vector;
//////////////////////////////////////////////////////////////////////
- // address of the most recent object serialized as a poiner
+ // address of the most recent object serialized as a pointer
// whose data itself is now pending serialization
struct pending {
void * object;
@@ -262,7 +262,7 @@ basic_iarchive_impl::reset_object_address(
continue;
void const * const this_address = ao.address;
// calculate displacement from this level
- // warning - pointer arithmetic on void * is in herently non-portable
+ // warning - pointer arithmetic on void * is inherently non-portable
// but expected to work on all platforms in current usage
if(this_address > old_address){
std::size_t member_displacement
@@ -402,7 +402,7 @@ basic_iarchive_impl::load_object(
if(!track(ar, t))
// we're done
return;
- // add a new enty into the tracking list
+ // add a new entry into the tracking list
object_id_vector.push_back(aobject(t, cid));
// and add an entry for this object
m_moveable_objects.end = object_id_type(object_id_vector.size());
@@ -501,7 +501,7 @@ basic_iarchive_impl::load_pointer(
serialization::state_saver w_end(m_moveable_objects.end);
// add to list of serialized objects so that we can properly handle
- // cyclic strucures
+ // cyclic structures
object_id_vector.push_back(aobject(t, cid));
// remember that that the address of these elements could change
diff --git a/src/extended_type_info_no_rtti.cpp b/src/extended_type_info_no_rtti.cpp
index 0a8d2a07..5198a196 100644
--- a/src/extended_type_info_no_rtti.cpp
+++ b/src/extended_type_info_no_rtti.cpp
@@ -52,8 +52,8 @@ extended_type_info_no_rtti_0::is_less_than(
// this method of type id are in fact exported.
// b) This class was used (e.g. serialized through a pointer) before
// it was exported. Make sure that classes which use this method
- // of type id are NOT "automatically" registered by serializating
- // through a pointer to the to most derived class. OR make sure
+ // of type id are NOT "automatically" registered by serializing
+ // through a pointer to the most derived class. OR make sure
// that the BOOST_CLASS_EXPORT is included in every file
// which does this.
BOOST_ASSERT(NULL != l);
@@ -84,6 +84,6 @@ BOOST_SERIALIZATION_DECL
extended_type_info_no_rtti_0::~extended_type_info_no_rtti_0()
{}
-} // namespece detail
+} // namespace detail
} // namespace serialization
} // namespace boost
diff --git a/src/extended_type_info_typeid.cpp b/src/extended_type_info_typeid.cpp
index f0fc5554..335cc231 100644
--- a/src/extended_type_info_typeid.cpp
+++ b/src/extended_type_info_typeid.cpp
@@ -98,7 +98,7 @@ extended_type_info_typeid_0::type_unregister()
// note: previously this conditional was a runtime assertion with
// BOOST_ASSERT. We've changed it because we've discovered that at
// least one platform is not guaranteed to destroy singletons in
- // reverse order of distruction.
+ // reverse order of destruction.
// BOOST_ASSERT(! singleton::is_destroyed());
if(! singleton::is_destroyed()){
tkmap & x = singleton::get_mutable_instance();
diff --git a/test/portable_binary_archive.hpp b/test/portable_binary_archive.hpp
index 768b9588..c7b45e99 100644
--- a/test/portable_binary_archive.hpp
+++ b/test/portable_binary_archive.hpp
@@ -16,7 +16,7 @@ typedef portable_binary_oarchive test_oarchive;
// and corresponding stream
typedef std::ofstream test_ostream;
-// repeat the above for correspondng input archive
+// repeat the above for corresponding input archive
#include "../example/portable_binary_iarchive.hpp"
typedef portable_binary_iarchive test_iarchive;
typedef std::ifstream test_istream;
diff --git a/test/test_cyclic_ptrs.cpp b/test/test_cyclic_ptrs.cpp
index efae3df4..e164b537 100644
--- a/test/test_cyclic_ptrs.cpp
+++ b/test/test_cyclic_ptrs.cpp
@@ -62,7 +62,7 @@ bool J::operator==(const J &rhs) const
// When those objects are subsequently serialized, it is discovered
// that have already been serialized through pointers. This is
// detected by the system and an exception - pointer_conflict -
-// is thrown. Permiting this to go undetected would result in the
+// is thrown. Permitting this to go undetected would result in the
// creation of multiple equal objects rather than the original
// structure.
class K
diff --git a/test/test_diamond.cpp b/test/test_diamond.cpp
index 9eaf4577..8d2af113 100644
--- a/test/test_diamond.cpp
+++ b/test/test_diamond.cpp
@@ -6,7 +6,7 @@
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
-// test of serialization library for diamond inheritence situations
+// test of serialization library for diamond inheritance situations
#include // NULL
#include
@@ -80,8 +80,8 @@ private:
// this shared base class. This wouldn't cause an error, but it would
// be a waste of time. So set the tracking behavior trait of the base
// class to always track serialized objects of that class. This permits
-// the system to detect and elminate redundent save/load operations.
-// (It is concievable that this might someday be detected automatically
+// the system to detect and eliminate redundant save/load operations.
+// (It is conceivable that this might someday be detected automatically
// but for now, this is not done so we have to rely on the programmer
// to specify this trait)
BOOST_CLASS_TRACKING(base, track_always)
diff --git a/test/test_diamond_complex.cpp b/test/test_diamond_complex.cpp
index 826c7fb8..774aea00 100644
--- a/test/test_diamond_complex.cpp
+++ b/test/test_diamond_complex.cpp
@@ -6,7 +6,7 @@
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
-// test of serialization library for diamond inheritence situations
+// test of serialization library for diamond inheritance situations
#include // NULL
#include
@@ -94,8 +94,8 @@ private:
// this shared EX1Level1 class. This wouldn't cause an error, but it would
// be a waste of time. So set the tracking behavior trait of the EX1Level1
// class to always track serialized objects of that class. This permits
-// the system to detect and elminate redundent save/load operations.
-// (It is concievable that this might someday be detected automatically
+// the system to detect and eliminate redundant save/load operations.
+// (It is conceivable that this might someday be detected automatically
// but for now, this is not done so we have to rely on the programmer
// to specify this trait)
BOOST_CLASS_TRACKING(EX1Level1, track_always)
@@ -257,8 +257,8 @@ private:
// this shared EX2Level1 class. This wouldn't cause an error, but it would
// be a waste of time. So set the tracking behavior trait of the EX2Level1
// class to always track serialized objects of that class. This permits
-// the system to detect and elminate redundent save/load operations.
-// (It is concievable that this might someday be detected automatically
+// the system to detect and eliminate redundant save/load operations.
+// (It is conceivable that this might someday be detected automatically
// but for now, this is not done so we have to rely on the programmer
// to specify this trait)
BOOST_CLASS_TRACKING(EX2Level1, track_always)
diff --git a/test/test_dll_exported.cpp b/test/test_dll_exported.cpp
index 69b996c5..7f63f35a 100644
--- a/test/test_dll_exported.cpp
+++ b/test/test_dll_exported.cpp
@@ -9,9 +9,9 @@
// should pass compilation and execution
// This is an overly complex test. The purpose of this test is to
-// demostrate and test the ability to serialize a hiarchy of class
+// demonstrate and test the ability to serialize a hierarchy of class
// through a base class pointer even though those class might be
-// implemente in different dlls and use different extended type info
+// implemented in different dlls and use different extended type info
// systems.
//
// polymorphic_ base is locally declared and defined. It use the
diff --git a/test/test_multiple_inheritance.cpp b/test/test_multiple_inheritance.cpp
index 08c304f8..f57b75b2 100644
--- a/test/test_multiple_inheritance.cpp
+++ b/test/test_multiple_inheritance.cpp
@@ -6,7 +6,7 @@
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
-// test of serialization library for multiple inheritence situations
+// test of serialization library for multiple inheritance situations
#include
#include
diff --git a/test/test_new_operator.cpp b/test/test_new_operator.cpp
index c7b1e7e6..80b5887f 100644
--- a/test/test_new_operator.cpp
+++ b/test/test_new_operator.cpp
@@ -142,7 +142,7 @@ int test_main( int /* argc */, char* /* argv */[] ){
if(EXIT_SUCCESS != test())
return EXIT_FAILURE;
// Note the following test fails. To see why this is, look into the file
- // iserializer line # 247. Feel free to send a patch to detect the absense
+ // iserializer line # 247. Feel free to send a patch to detect the absence
// of a class specific delete.
/*
if(EXIT_SUCCESS != test())
diff --git a/test/test_no_rtti.cpp b/test/test_no_rtti.cpp
index 38ccd2dc..6d0772c9 100644
--- a/test/test_no_rtti.cpp
+++ b/test/test_no_rtti.cpp
@@ -107,7 +107,7 @@ void load_derived(const char *testfile)
polymorphic_base *rb1 = NULL;
polymorphic_base *rb2 = NULL;
- // the above opereration registers the derived classes as a side
+ // the above operation registers the derived classes as a side
// effect. Hence, instances can now be correctly serialized through
// a base class pointer.
std::cout << "loading polymorphic_derived1 (no_rtti) through base (no_rtti)\n";
diff --git a/test/test_non_default_ctor.cpp b/test/test_non_default_ctor.cpp
index e2450503..03350891 100644
--- a/test/test_non_default_ctor.cpp
+++ b/test/test_non_default_ctor.cpp
@@ -37,7 +37,7 @@ namespace std{
///////////////////////////////////////////////////////
// simple class test - using non-intrusive syntax
-// illustrates the usage of the non-intrusve syntax
+// illustrates the usage of the non-intrusive syntax
class A
{
friend class boost::serialization::access;
diff --git a/test/test_non_intrusive.cpp b/test/test_non_intrusive.cpp
index c1d8a746..4df4f54b 100644
--- a/test/test_non_intrusive.cpp
+++ b/test/test_non_intrusive.cpp
@@ -37,7 +37,7 @@ namespace std{
///////////////////////////////////////////////////////
// simple class test - using non-intrusive syntax
-// illustrates the usage of the non-intrusve syntax
+// illustrates the usage of the non-intrusive syntax
class A
{
public:
diff --git a/test/test_polymorphic_A.cpp b/test/test_polymorphic_A.cpp
index a4f4d1a0..9dee81b8 100644
--- a/test/test_polymorphic_A.cpp
+++ b/test/test_polymorphic_A.cpp
@@ -30,8 +30,8 @@ void data::serialize(Archive & ar, const unsigned int /* file_version */){
ar & BOOST_SERIALIZATION_NVP(a);
}
-// without the explicit instantiations below, the program will
-// fail to link for lack of instantiantiation of the above function
+// without the explicit instantiation below, the program will
+// fail to link for lack of instantiation of the above function
// note: the following failed to fix link errors for vc 7.0 !
#include
diff --git a/test/test_registered.cpp b/test/test_registered.cpp
index 32221964..ea8c1fda 100644
--- a/test/test_registered.cpp
+++ b/test/test_registered.cpp
@@ -69,7 +69,7 @@ void save_derived(const char *testfile)
oa << BOOST_SERIALIZATION_NVP(rd1);
oa << BOOST_SERIALIZATION_NVP(rd2);
- // the above opereration registers the derived classes as a side
+ // the above operation registers the derived classes as a side
// effect. Hence, instances can now be correctly serialized through
// a base class pointer.
polymorphic_base *rb1 = rd1;
@@ -125,7 +125,7 @@ void load_derived(const char *testfile)
polymorphic_base *rb1 = NULL;
polymorphic_base *rb2 = NULL;
- // the above opereration registers the derived classes as a side
+ // the above operation registers the derived classes as a side
// effect. Hence, instances can now be correctly serialized through
// a base class pointer.
ia >> BOOST_SERIALIZATION_NVP(rb1);
diff --git a/test/test_shared_ptr.cpp b/test/test_shared_ptr.cpp
index dc35842b..65a86ab6 100644
--- a/test/test_shared_ptr.cpp
+++ b/test/test_shared_ptr.cpp
@@ -276,7 +276,7 @@ bool test(){
// trivial test 1
save_and_load(spa);
- //trivival test 2
+ // trivial test 2
spa = SPT(new A);
save_and_load(spa);
diff --git a/test/test_shared_ptr_132.cpp b/test/test_shared_ptr_132.cpp
index 0d11b000..de0f6d26 100644
--- a/test/test_shared_ptr_132.cpp
+++ b/test/test_shared_ptr_132.cpp
@@ -109,7 +109,7 @@ void save_and_load(const T & spa)
save(testfile, spa);
// note that we're loading to a current version of shared_ptr
- // regardless of the orignal saved type - this tests backward
+ // regardless of the original saved type - this tests backward
// archive compatibility
boost::shared_ptr spa1;
load(testfile, spa1);
@@ -193,7 +193,7 @@ void load3(
// note that we serialize the weak pointer first
ia >> BOOST_SERIALIZATION_NVP(third);
// inorder to test that a temporarily solitary weak pointer
- // correcttly restored.
+ // correctly restored.
ia >> BOOST_SERIALIZATION_NVP(first);
ia >> BOOST_SERIALIZATION_NVP(second);
}
diff --git a/test/test_tools.hpp b/test/test_tools.hpp
index bfe7664c..21f0b8f8 100644
--- a/test/test_tools.hpp
+++ b/test/test_tools.hpp
@@ -130,7 +130,7 @@ namespace archive {
#else // defined(__hpux)
// (C) Copyright 2010 Dean Michael Berris.
-// Instead of using the potentially dangrous tempnam function that's part
+// Instead of using the potentially dangerous tempnam function that's part
// of the C standard library, on Unix/Linux we use the more portable and
// "safe" unique_path function provided in the Boost.Filesystem library.
diff --git a/test/test_variant.cpp b/test/test_variant.cpp
index 477038fc..d61ae42e 100644
--- a/test/test_variant.cpp
+++ b/test/test_variant.cpp
@@ -53,8 +53,8 @@ class are_equal
: public boost::static_visitor
{
public:
- // note extra rigamorole for compilers which don't support
- // partial function template ordering - specfically msvc 6.x
+ // note extra rigamarole for compilers which don't support
+ // partial function template ordering - specifically msvc 6.x
struct same {
template
static bool invoke(const T & t, const U & u){
@@ -121,7 +121,7 @@ void test_type(const T& gets_written){
// this verifies that if you try to read in a variant from a file
// whose "which" is illegal for the one in memory (that is, you're
// reading in to a different variant than you wrote out to) the load()
-// operation will throw. One could concievably add checking for
+// operation will throw. One could conceivably add checking for
// sequence length as well, but this would add size to the archive for
// dubious benefit.
//