www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - how to determine if a function exists in a class?

reply TodNaz <tod.naz mail.ru> writes:
Hello everyone!
I have a question: how to determine if a function exists in a 
class? Is this possible with  pointer tagging?
Oct 01 2019
parent Alex <sascha.orlov gmail.com> writes:
On Wednesday, 2 October 2019 at 06:06:20 UTC, TodNaz wrote:
 Hello everyone!
 I have a question: how to determine if a function exists in a 
 class? Is this possible with  pointer tagging?
Do you mean, like in examples of https://dlang.org/library/std/traits/has_member.html ?
Oct 01 2019