diff -Nur boost_1_66_0/boost/optional/detail/old_optional_implementation.hpp boost_1_66_0.patched/boost/optional/detail/old_optional_implementation.hpp
old
|
new
|
|
147 | 147 | } |
148 | 148 | #endif |
149 | 149 | |
150 | | // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional<T>. |
| 150 | // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional<T>. |
151 | 151 | // Can throw if T::T(T const&) does |
152 | 152 | optional_base ( bool cond, argument_type val ) |
153 | 153 | : |
diff -Nur boost_1_66_0/boost/optional/optional.hpp boost_1_66_0.patched/boost/optional/optional.hpp
old
|
new
|
|
149 | 149 | } |
150 | 150 | #endif |
151 | 151 | |
152 | | // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialzed optional<T>. |
| 152 | // Creates an optional<T> initialized with 'val' IFF cond is true, otherwise creates an uninitialized optional<T>. |
153 | 153 | // Can throw if T::T(T const&) does |
154 | 154 | optional_base ( bool cond, argument_type val ) |
155 | 155 | : |
… |
… |
|
160 | 160 | } |
161 | 161 | |
162 | 162 | #ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES |
163 | | // Creates an optional<T> initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialzed optional<T>. |
| 163 | // Creates an optional<T> initialized with 'move(val)' IFF cond is true, otherwise creates an uninitialized optional<T>. |
164 | 164 | // Can throw if T::T(T &&) does |
165 | 165 | optional_base ( bool cond, rval_reference_type val ) |
166 | 166 | : |
diff -Nur boost_1_66_0/boost/regex/v4/match_results.hpp boost_1_66_0.patched/boost/regex/v4/match_results.hpp
old
|
new
|
|
563 | 563 | // |
564 | 564 | static void raise_logic_error() |
565 | 565 | { |
566 | | std::logic_error e("Attempt to access an uninitialzed boost::match_results<> class."); |
| 566 | std::logic_error e("Attempt to access an uninitialized boost::match_results<> class."); |
567 | 567 | boost::throw_exception(e); |
568 | 568 | } |
569 | 569 | |