format!"fmt"() and writef!"fmt"() templates
with compile-time checked format string
not accept %X for pointers,

but format() and writef() accept it

https://run.dlang.io/is/aQ05Ux
```
void main() {
    import std.stdio: writefln;
    int x;
    writefln("%X", &x);  //ok
    writefln!"%s"(&x);  //ok
    //writefln!"%X"(&x);  //compile error
}
```

is this intentional?

Reply via email to