mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
10 lines
129 B
D
10 lines
129 B
D
alias char* function() Func;
|
|
|
|
alias const char* function() CFunc;
|
|
|
|
void to(S)(S) { }
|
|
|
|
void foo(CFunc cFunc)
|
|
{
|
|
to(cFunc());
|
|
}
|