From 64e72828d7a612fe747a31b7eedef05ce99f1c93 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Wed, 26 Sep 2018 14:15:18 -0400 Subject: [PATCH] concept_check: misc. typos Found via `codespell -q 3` --- implementation.htm | 4 ++-- include/boost/concept_check.hpp | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/implementation.htm b/implementation.htm index 008fbed..66af1fe 100644 --- a/implementation.htm +++ b/implementation.htm @@ -27,7 +27,7 @@

This documentation is out-of-date; similar but newer implementation techniques are now used. This documentation also refers to components and protocols in the library's old - interace such as BOOST_CLASS_REQUIRES + interface such as BOOST_CLASS_REQUIRES and constraints() functions, which are still supported but deprecated.

@@ -77,7 +77,7 @@ function. Instead, we group sets of valid expressions together, according to the definitions of the corresponding concepts. For each concept we define a concept checking class template where the template parameter is - for the type to be checked. The class contains a contraints() + for the type to be checked. The class contains a constraints() member function which exercises all of the valid expressions of the concept. The objects used in the constraints function, such as n and i, are declared as data members of the concept checking diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp index 660516f..abbadb7 100644 --- a/include/boost/concept_check.hpp +++ b/include/boost/concept_check.hpp @@ -335,8 +335,8 @@ namespace boost #if (BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4) \ && BOOST_WORKAROUND(__GNUC__, > 3))) - // Declare a dummy construktor to make gcc happy. - // It seems the compiler can not generate a sensible constructor when this is instantiated with a refence type. + // Declare a dummy constructor to make gcc happy. + // It seems the compiler can not generate a sensible constructor when this is instantiated with a reference type. // (warning: non-static reference "const double& boost::UnaryFunction::arg" // in class without a constructor [-Wuninitialized]) UnaryFunction(); @@ -365,7 +365,7 @@ namespace boost #if (BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4) \ && BOOST_WORKAROUND(__GNUC__, > 3))) // Declare a dummy constructor to make gcc happy. - // It seems the compiler can not generate a sensible constructor when this is instantiated with a refence type. + // It seems the compiler can not generate a sensible constructor when this is instantiated with a reference type. // (warning: non-static reference "const double& boost::BinaryFunction::arg" // in class without a constructor [-Wuninitialized]) BinaryFunction(); @@ -385,7 +385,7 @@ namespace boost #if (BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4) \ && BOOST_WORKAROUND(__GNUC__, > 3))) // Declare a dummy constructor to make gcc happy. - // It seems the compiler can not generate a sensible constructor when this is instantiated with a refence type. + // It seems the compiler can not generate a sensible constructor when this is instantiated with a reference type. // (warning: non-static reference "const double& boost::UnaryPredicate::arg" // in class without a constructor [-Wuninitialized]) UnaryPredicate(); @@ -404,7 +404,7 @@ namespace boost #if (BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4) \ && BOOST_WORKAROUND(__GNUC__, > 3))) // Declare a dummy constructor to make gcc happy. - // It seems the compiler can not generate a sensible constructor when this is instantiated with a refence type. + // It seems the compiler can not generate a sensible constructor when this is instantiated with a reference type. // (warning: non-static reference "const double& boost::BinaryPredicate::arg" // in class without a constructor [-Wuninitialized]) BinaryPredicate(); @@ -429,7 +429,7 @@ namespace boost #if (BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4) \ && BOOST_WORKAROUND(__GNUC__, > 3))) // Declare a dummy constructor to make gcc happy. - // It seems the compiler can not generate a sensible constructor when this is instantiated with a refence type. + // It seems the compiler can not generate a sensible constructor when this is instantiated with a reference type. // (warning: non-static reference "const double& boost::Const_BinaryPredicate::arg" // in class without a constructor [-Wuninitialized]) Const_BinaryPredicate();