Skip to content

Commit

Permalink
명시적 생성 여부 메타 함수의 결과를 반대로 뒤집음
Browse files Browse the repository at this point in the history
  • Loading branch information
iconstudio committed Jul 2, 2023
1 parent 1aac2e0 commit 5d973ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generic/Traits.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export namespace util
inline constexpr bool make_disjunction = logical_product_v<MetaFn, std::disjunction, Ts...>;

template<typename T>
struct is_explicit_constructible : conditional_t<is_trivial_v<T>, false_type, true_type> {};
struct is_explicit_constructible : conditional_t<is_trivial_v<T>, true_type, false_type> {};

template<typename T>
inline constexpr bool is_explicit_constructible_v = is_explicit_constructible<T>::value;
Expand Down

0 comments on commit 5d973ca

Please sign in to comment.