Skip to content

Commit d3fe8b4

Browse files
committed
#276: utils: simplify traits when argument is not a pointer
1 parent 600105e commit d3fe8b4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/vt/utils/fntraits/fntraits.h

-6
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,6 @@ struct ObjFuncTraitsImpl<
201201
template <typename Return, typename Arg, typename... Args>
202202
struct ObjFuncTraitsImpl<
203203
std::enable_if_t<
204-
not (
205-
std::is_convertible<Arg, vt::Message*>::value or
206-
std::is_convertible<Arg, vt::ShortMessage*>::value or
207-
std::is_convertible<Arg, vt::EpochMessage*>::value or
208-
std::is_convertible<Arg, vt::PayloadMessage*>::value
209-
) and
210204
not std::is_pointer<Arg>::value
211205
>,
212206
Return(*)(Arg, Args...)

0 commit comments

Comments
 (0)