Skip to content

Commit

Permalink
clang-forat fix for paper reference file
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-downey committed Oct 12, 2024
1 parent 08f4bfb commit ad0ca22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions papers/P2988/optional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ constexpr auto optional<T&>::and_then(F&& f) const {

template <class T>
template <class F>
constexpr auto optional<T&>::transform(F&& f) const
-> optional<invoke_result_t<F, T&>> {
constexpr auto
optional<T&>::transform(F&& f) const -> optional<invoke_result_t<F, T&>> {
using U = invoke_result_t<F, T&>;
if (has_value()) {
return optional<U>{invoke(std::forward<F>(f), *value_)};
Expand Down

0 comments on commit ad0ca22

Please sign in to comment.