Add intrinsic to check if a call to an overloaded proc would work #5062
samuelgozi
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like there to be an intrinsic that can be used to check if a type or a set of types would satisfy an overloaded procedure.
For example lets say I have the following overloaded proc:
Overloading works very well when the
handle
function is called directly.But lets say that I have a library, and the
handle
proc is not public.I would like to be able to do the following:
Calling
do_something
will not work if the value is not of supported type.Beta Was this translation helpful? Give feedback.
All reactions