Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83393 - in trunk: boost/type_erasure libs/type_erasure/doc libs/type_erasure/example
From: steven_at_[hidden]
Date: 2013-03-09 22:48:34


Author: steven_watanabe
Date: 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
New Revision: 83393
URL: http://svn.boost.org/trac/boost/changeset/83393

Log:
Fix typos. Fixes #8271.
Text files modified:
   trunk/boost/type_erasure/any.hpp | 24 ++++++++++++------------
   trunk/boost/type_erasure/deduced.hpp | 2 +-
   trunk/boost/type_erasure/member.hpp | 2 +-
   trunk/libs/type_erasure/doc/type_erasure.qbk | 2 +-
   trunk/libs/type_erasure/example/multi.cpp | 2 +-
   trunk/libs/type_erasure/example/multifunction.cpp | 2 +-
   trunk/libs/type_erasure/example/printf.cpp | 6 +++---
   7 files changed, 20 insertions(+), 20 deletions(-)

Modified: trunk/boost/type_erasure/any.hpp
==============================================================================
--- trunk/boost/type_erasure/any.hpp (original)
+++ trunk/boost/type_erasure/any.hpp 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
@@ -310,7 +310,7 @@
      * \pre @c Concept must contain @ref constructible<T(const T&)>.
      * \pre @c Concept must not refer to any non-deduced placeholder besides @c T.
      * \pre After substituting @c T for @c Tag2, the requirements of
- * @c Concept2 must be a superset of of the requirements of
+ * @c Concept2 must be a superset of the requirements of
      * @c Concept.
      *
      * \throws std::bad_alloc or whatever that the copy
@@ -349,7 +349,7 @@
      * placeholders used by @c Concept and values for the corresponding
      * placeholders in @c Concept2.
      * \pre After substituting placeholders according to @c Map, the
- * requirements of @c Concept2 must be a superset of of the
+ * requirements of @c Concept2 must be a superset of the
      * requirements of @c Concept.
      *
      * \throws std::bad_alloc or whatever that the copy
@@ -1274,7 +1274,7 @@
      *
      * \pre @c Concept must not refer to any non-deduced placeholder besides @c T.
      * \pre After substituting @c T for @c Tag2, the requirements of
- * @c Concept2 must be a superset of of the requirements of
+ * @c Concept2 must be a superset of the requirements of
      * @c Concept.
      *
      * \throws std::bad_alloc
@@ -1307,7 +1307,7 @@
      *
      * \pre @c Concept must not refer to any non-deduced placeholder besides @c T.
      * \pre After substituting @c T for @c Tag2, the requirements of
- * @c Concept2 must be a superset of of the requirements of
+ * @c Concept2 must be a superset of the requirements of
      * @c Concept.
      *
      * \throws std::bad_alloc
@@ -1343,7 +1343,7 @@
      * placeholders used by @c Concept and values for the corresponding
      * placeholders in @c Concept2.
      * \pre After substituting placeholders according to @c Map, the
- * requirements of @c Concept2 must be a superset of of the
+ * requirements of @c Concept2 must be a superset of the
      * requirements of @c Concept.
      *
      * \throws std::bad_alloc
@@ -1367,7 +1367,7 @@
      * placeholders used by @c Concept and values for the corresponding
      * placeholders in @c Concept2.
      * \pre After substituting placeholders according to @c Map, the
- * requirements of @c Concept2 must be a superset of of the
+ * requirements of @c Concept2 must be a superset of the
      * requirements of @c Concept.
      *
      * \throws std::bad_alloc
@@ -1687,7 +1687,7 @@
      *
      * \pre @c Concept must not refer to any non-deduced placeholder besides @c T.
      * \pre After substituting @c T for @c Tag2, the requirements of
- * @c Concept2 must be a superset of of the requirements of
+ * @c Concept2 must be a superset of the requirements of
      * @c Concept.
      *
      * \throws std::bad_alloc
@@ -1720,7 +1720,7 @@
      * placeholders used by @c Concept and values for the corresponding
      * placeholders in @c Concept2.
      * \pre After substituting placeholders according to @c Map, the
- * requirements of @c Concept2 must be a superset of of the
+ * requirements of @c Concept2 must be a superset of the
      * requirements of @c Concept.
      *
      * \throws std::bad_alloc
@@ -1906,7 +1906,7 @@
      *
      * \pre @c Concept must not refer to any non-deduced placeholder besides @c T.
      * \pre After substituting @c T for @c Tag2, the requirements of
- * @c Concept2 must be a superset of of the requirements of
+ * @c Concept2 must be a superset of the requirements of
      * @c Concept.
      *
      * \throws std::bad_alloc
@@ -1940,7 +1940,7 @@
      *
      * \pre @c Concept must not refer to any non-deduced placeholder besides @c T.
      * \pre After substituting @c T for @c Tag2, the requirements of
- * @c Concept2 must be a superset of of the requirements of
+ * @c Concept2 must be a superset of the requirements of
      * @c Concept.
      *
      * \throws std::bad_alloc
@@ -1976,7 +1976,7 @@
      * placeholders used by @c Concept and values for the corresponding
      * placeholders in @c Concept2.
      * \pre After substituting placeholders according to @c Map, the
- * requirements of @c Concept2 must be a superset of of the
+ * requirements of @c Concept2 must be a superset of the
      * requirements of @c Concept.
      *
      * \throws std::bad_alloc
@@ -2000,7 +2000,7 @@
      * placeholders used by @c Concept and values for the corresponding
      * placeholders in @c Concept2.
      * \pre After substituting placeholders according to @c Map, the
- * requirements of @c Concept2 must be a superset of of the
+ * requirements of @c Concept2 must be a superset of the
      * requirements of @c Concept.
      *
      * \throws std::bad_alloc

Modified: trunk/boost/type_erasure/deduced.hpp
==============================================================================
--- trunk/boost/type_erasure/deduced.hpp (original)
+++ trunk/boost/type_erasure/deduced.hpp 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
@@ -22,7 +22,7 @@
 namespace type_erasure {
 
 /**
- * A placeholder for an assocated type. The type corresponding
+ * A placeholder for an associated type. The type corresponding
  * to this placeholder is deduced by substituting placeholders
  * in the arguments of the metafunction and then evaluating it.
  *

Modified: trunk/boost/type_erasure/member.hpp
==============================================================================
--- trunk/boost/type_erasure/member.hpp (original)
+++ trunk/boost/type_erasure/member.hpp 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
@@ -99,7 +99,7 @@
  * \endcode
  *
  * \note In C++11 the argument N is ignored and may be omitted.
- * BOOST_TYPE_ERASURE_MEMBER will alway define a variadic concept.
+ * BOOST_TYPE_ERASURE_MEMBER will always define a variadic concept.
  */
 #define BOOST_TYPE_ERASURE_MEMBER(qualified_name, member, N) \
     BOOST_TYPE_ERASURE_MEMBER_I( \

Modified: trunk/libs/type_erasure/doc/type_erasure.qbk
==============================================================================
--- trunk/libs/type_erasure/doc/type_erasure.qbk (original)
+++ trunk/libs/type_erasure/doc/type_erasure.qbk 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
@@ -89,7 +89,7 @@
   in every translation unit in which it is used,
   slowing down compiles and increasing rebuilds.
 * Virtual functions automatically make the requirements
- on the aruments explicit. Templates are only
+ on the arguments explicit. Templates are only
   checked when they're instantiated, requiring
   extra work in testing, assertions, and documentation.
 * The compiler creates a new copy of each function

Modified: trunk/libs/type_erasure/example/multi.cpp
==============================================================================
--- trunk/libs/type_erasure/example/multi.cpp (original)
+++ trunk/libs/type_erasure/example/multi.cpp 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
@@ -99,7 +99,7 @@
 
         We can also use __tuple to avoid having to
         write out the map out explicitly. __tuple is
- just a convienience class that combines the
+ just a convenience class that combines the
         placeholder bindings it gets from all its arguments.
      */
     tuple<requirements, _a, _b> t(&array[0], 2);

Modified: trunk/libs/type_erasure/example/multifunction.cpp
==============================================================================
--- trunk/libs/type_erasure/example/multifunction.cpp (original)
+++ trunk/libs/type_erasure/example/multifunction.cpp 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
@@ -60,7 +60,7 @@
     std::vector<boost::recursive_variant_> >::type variant_type;
 typedef std::vector<variant_type> vector_type;
 
-// Now we'll define a multifuntion that can operate
+// Now we'll define a multifunction that can operate
 // on the leaf nodes of the variant.
 typedef multifunction<void(int), void(double), void(std::string)> function_type;
 

Modified: trunk/libs/type_erasure/example/printf.cpp
==============================================================================
--- trunk/libs/type_erasure/example/printf.cpp (original)
+++ trunk/libs/type_erasure/example/printf.cpp 2013-03-09 22:48:33 EST (Sat, 09 Mar 2013)
@@ -57,7 +57,7 @@
 //
 // '%' [ argument-number '$' ] flags * [ width ] [ '.' precision ] [ type-code ] format-specifier
 //
-// Other characters in the format string are writted to the stream unchanged.
+// Other characters in the format string are written to the stream unchanged.
 // In addition the sequence, "%%" can be used to print a literal '%' character.
 // Each component is explained in detail below
 //
@@ -77,14 +77,14 @@
 //
 // width:
 // Indicates the minimum width to print. This can be either
-// an integer or a '*'. an asterik means to read the next
+// an integer or a '*'. an asterisk means to read the next
 // argument (which must have type int) as the width.
 //
 // precision:
 // For numeric arguments, indicates the number of digits to print. For
 // strings (%s) the precision indicates the maximum number of characters
 // to print. Longer strings will be truncated. As with width
-// this can be either an integer or a '*'. an asterik means
+// this can be either an integer or a '*'. an asterisk means
 // to read the next argument (which must have type int) as
 // the width. If both the width and the precision are specified
 // as '*', the width is read first.


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk