Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/span.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ and return type use spans.

```
auto sha1(boost::span<const unsigned char> input,
boost::span<unsigned char, SHA_DIGEST_LENGTH> ouput)
boost::span<unsigned char, SHA_DIGEST_LENGTH> output)
{
SHA_CTX context;
SHA1_Init(&context);
Expand Down
2 changes: 1 addition & 1 deletion include/boost/core/demangle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#if defined( BOOST_CORE_HAS_CXXABI_H )
# include <cxxabi.h>
// 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__ )
Expand Down
2 changes: 1 addition & 1 deletion include/boost/core/scoped_enum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/detail_iterator_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/swap/swap_no_ambiguity_in_boost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boost/core/invoke_swap.hpp>
Expand Down
2 changes: 1 addition & 1 deletion test/swap/swap_specialized_in_global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading