On 23/07/2019 9:34 AM, solidstate1991 wrote:
It seems that I've to write my own function that searches in the given object's classinfo.interfaces since I couldn't find anything related in Phobos.
if (Foo foo = cast(Bar)bar) { }
rikki cattermole via Digitalmars-d-learn Mon, 22 Jul 2019 16:40:38 -0700
On 23/07/2019 9:34 AM, solidstate1991 wrote:
It seems that I've to write my own function that searches in the given object's classinfo.interfaces since I couldn't find anything related in Phobos.
if (Foo foo = cast(Bar)bar) { }