Can I rely on format returned by fullyQualifiedName?
Jack
jckj33 at gmail.com
Sat Apr 24 03:40:20 UTC 2021
Can I rely on this format from fullyQualifiedName? for example,
let's say I do:
```d
enum s = fullyQualifiedName!f.split;
```
where f is a function member of a class. Can I realy that s[0] is
the module name, s[1] is the class name and s[2] the functio
name? is this standard or can the compile change that? I've
tested on dmd, does ldc or gdc do something different?
```d
class A
{
void f() { }
void baa()
{
enum s = fullyQualifiedName!f.split;
}
}
```
More information about the Digitalmars-d-learn
mailing list