Skip to content

Commit fe0342d

Browse files
committed
Update via clang-format
1 parent 2452c7a commit fe0342d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/beman/optional/detail/stl_interfaces/iterator_interface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ BEMAN_OPTIONAL_DETAIL_STL_INTERFACES_NAMESPACE_V1 {
229229
template <typename D = Derived>
230230
constexpr auto operator->() const
231231
noexcept(noexcept(detail::make_pointer<pointer, reference>(*std::declval<const D&>())))
232-
-> decltype(detail::make_pointer<pointer, reference>(*std::declval<const D&>())) {
232+
-> decltype(detail::make_pointer<pointer, reference>(*std::declval<const D&>())) {
233233
return detail::make_pointer<pointer, reference>(*derived());
234234
}
235235

papers/P2988/optional_ref.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ class optional<T&> {
132132
}
133133

134134
template <class F>
135-
constexpr auto
136-
transform(F&& f) const -> optional<std::invoke_result_t<F, T&>> {
135+
constexpr auto transform(F&& f) const
136+
-> optional<std::invoke_result_t<F, T&>> {
137137
using U = std::invoke_result_t<F, T&>;
138138
return (has_value())
139139
? optional<U>{std::invoke(std::forward<F>(f), *value_)}

0 commit comments

Comments
 (0)