mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
15 lines
319 B
D
15 lines
319 B
D
module example;
|
|
|
|
bool aTemplatedFunction(One)(One alpha) if (isNumeric!One)
|
|
{
|
|
}
|
|
|
|
unittest
|
|
{
|
|
{
|
|
bool anotherTemplatedFunction(One, Two, Three)(One alpha, Two bravo, Three charlie, double delta) if (isNumeric!One && isNumeric!Two && isNumeric!Three && echo && foxtrot && golf && hotel && india && juliet)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|