Skip to content

Commit

Permalink
느슨한 모나드 생성자에서 explicit 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
iconstudio committed Jul 6, 2023
1 parent a19b04e commit c9c916f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/functional/LooseMonad.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ export namespace util

template <typename T>
requires (meta::included_v<clean_t<T>, Ts...> && !same_as<clean_t<T>, in_place_t> && !is_specialization_v<clean_t<T>, in_place_type_t> && !is_indexed_v<clean_t<T>, in_place_index_t>)
explicit(util::is_explicit_constructible_v<T>)
constexpr
constexpr
LooseMonad(T&& object) noexcept
: myStorage(in_place_type<clean_t<T>>, static_cast<T&&>(object))
{}
Expand Down

0 comments on commit c9c916f

Please sign in to comment.