From 7703691e9da6e56a8a7b1c70b5c97b4542ef7622 Mon Sep 17 00:00:00 2001 From: Derek Elder Date: Sat, 22 Oct 2022 10:20:25 -0700 Subject: [PATCH] Fix spelling errors in comments --- boost/functional/forward_adapter.hpp | 4 ++-- boost/functional/lightweight_forward_adapter.hpp | 2 +- boost/python/object/function_handle.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boost/functional/forward_adapter.hpp b/boost/functional/forward_adapter.hpp index 2ec04360f..063b8bbb1 100644 --- a/boost/functional/forward_adapter.hpp +++ b/boost/functional/forward_adapter.hpp @@ -144,8 +144,8 @@ namespace boost : boost::result_of< BOOST_DEDUCED_TYPENAME c::t() > { }; - // WHen operator()() doesn't have any parameters, it can't - // be templatized and can't use SFINAE, so intead use class + // When operator()() doesn't have any parameters, it can't + // be templatized and can't use SFINAE, so instead use class // template parameter SFINAE to decide whether to instantiate it. template diff --git a/boost/functional/lightweight_forward_adapter.hpp b/boost/functional/lightweight_forward_adapter.hpp index 54cc758bb..37f907c91 100644 --- a/boost/functional/lightweight_forward_adapter.hpp +++ b/boost/functional/lightweight_forward_adapter.hpp @@ -150,7 +150,7 @@ namespace boost { }; // When operator() doesn't have any parameters, it can't - // be templatized and can't use SFINAE, so intead use class + // be templatized and can't use SFINAE, so instead use class // template parameter SFINAE to decide whether to instantiate it. template diff --git a/boost/python/object/function_handle.hpp b/boost/python/object/function_handle.hpp index be5089525..f40733026 100644 --- a/boost/python/object/function_handle.hpp +++ b/boost/python/object/function_handle.hpp @@ -31,7 +31,7 @@ inline handle<> function_handle(F const& f, Signature) ); } -// Just like make_function, but returns a handle<> intead. Same +// Just like make_function, but returns a handle<> instead. Same // reasoning as above. template handle<> make_function_handle(F f)