diff --git a/doc/span.qbk b/doc/span.qbk index 4057be1..884feff 100644 --- a/doc/span.qbk +++ b/doc/span.qbk @@ -38,7 +38,7 @@ and return type use spans. ``` auto sha1(boost::span input, - boost::span ouput) + boost::span output) { SHA_CTX context; SHA1_Init(&context); diff --git a/include/boost/core/demangle.hpp b/include/boost/core/demangle.hpp index dc714d8..63e5f7c 100644 --- a/include/boost/core/demangle.hpp +++ b/include/boost/core/demangle.hpp @@ -30,7 +30,7 @@ #if defined( BOOST_CORE_HAS_CXXABI_H ) # include -// For some archtectures (mips, mips64, x86, x86_64) cxxabi.h in Android NDK is implemented by gabi++ library +// For some architectures (mips, mips64, x86, x86_64) cxxabi.h in Android NDK is implemented by gabi++ library // (https://android.googlesource.com/platform/ndk/+/master/sources/cxx-stl/gabi++/), which does not implement // abi::__cxa_demangle(). We detect this implementation by checking the include guard here. # if defined( __GABIXX_CXXABI_H__ ) diff --git a/include/boost/core/scoped_enum.hpp b/include/boost/core/scoped_enum.hpp index 56dd0ed..9267455 100644 --- a/include/boost/core/scoped_enum.hpp +++ b/include/boost/core/scoped_enum.hpp @@ -37,7 +37,7 @@ namespace boost /** * Casts a scoped enum to its underlying type. * - * This function is useful when working with scoped enum classes, which doens't implicitly convert to the underlying type. + * This function is useful when working with scoped enum classes, which doesn't implicitly convert to the underlying type. * @param v A scoped enum. * @returns The underlying type. * @throws No-throws. diff --git a/test/detail_iterator_test.cpp b/test/detail_iterator_test.cpp index 0865ec4..bafb476 100644 --- a/test/detail_iterator_test.cpp +++ b/test/detail_iterator_test.cpp @@ -31,7 +31,7 @@ using std::distance; */ -// struct C {} doesn't wotk with libc++. +// struct C {} doesn't work with libc++. typedef std::forward_iterator_tag C; struct T diff --git a/test/swap/swap_no_ambiguity_in_boost.cpp b/test/swap/swap_no_ambiguity_in_boost.cpp index 3c91f0c..a17c169 100644 --- a/test/swap/swap_no_ambiguity_in_boost.cpp +++ b/test/swap/swap_no_ambiguity_in_boost.cpp @@ -9,7 +9,7 @@ // objects to be swapped would themselves be from the boost namespace. // If so, boost::core::invoke_swap itself might be found by argument dependent lookup. // The implementation of boost::core::invoke_swap resolves this issue by giving -// boost::core::invoke_swap two template argumetns, thereby making it less specialized +// boost::core::invoke_swap two template arguments, thereby making it less specialized // than std::swap. #include diff --git a/test/swap/swap_specialized_in_global.cpp b/test/swap/swap_specialized_in_global.cpp index 170f4ec..0d1bdca 100644 --- a/test/swap/swap_specialized_in_global.cpp +++ b/test/swap/swap_specialized_in_global.cpp @@ -12,7 +12,7 @@ //Put test class in the global namespace #include "./swap_test_class.hpp" -//Provide swap function in gloabl namespace +//Provide swap function in global namespace void swap(swap_test_class& left, swap_test_class& right) { left.swap(right);