diff --git a/include/boost/optional/detail/old_optional_implementation.hpp b/include/boost/optional/detail/old_optional_implementation.hpp index 4e888ed..16dee20 100644 --- a/include/boost/optional/detail/old_optional_implementation.hpp +++ b/include/boost/optional/detail/old_optional_implementation.hpp @@ -147,7 +147,7 @@ class optional_base : public optional_tag } #endif - // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional. + // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional. // Can throw if T::T(T const&) does optional_base ( bool cond, argument_type val ) : diff --git a/include/boost/optional/optional.hpp b/include/boost/optional/optional.hpp index 715adb9..ecf686e 100644 --- a/include/boost/optional/optional.hpp +++ b/include/boost/optional/optional.hpp @@ -149,7 +149,7 @@ class optional_base : public optional_tag } #endif - // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional. + // Creates an optional initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional. // Can throw if T::T(T const&) does optional_base ( bool cond, argument_type val ) : @@ -160,7 +160,7 @@ class optional_base : public optional_tag } #ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES - // Creates an optional initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialzed optional. + // Creates an optional initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialized optional. // Can throw if T::T(T &&) does optional_base ( bool cond, rval_reference_type val ) :