Skip to content

Commit

Permalink
make it a bit nicer
Browse files Browse the repository at this point in the history
Signed-off-by: delimbetov <[email protected]>
  • Loading branch information
delimbetov committed Sep 2, 2024
1 parent 1d38fb4 commit e54938d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,9 @@ static_assert([:rvfirst:].first == 1);

namespace reflect_value_callable {

using std::meta::reflect_value;

template<typename T>
constexpr auto reflectValueCallable =
requires { reflect_value<T>(std::declval<T>()); };
requires { std::meta::reflect_value<T>(std::declval<T>()); };

enum class E {};

Expand Down

0 comments on commit e54938d

Please sign in to comment.