dlang / ddox

Advanced D documentation engine
MIT License
63 stars 21 forks source link

template value specialization is missing #184

Closed MartinNowak closed 6 years ago

MartinNowak commented 7 years ago
/// option value types for SocketOption
alias SocketOptionType(SocketOption opt) = int;
/// ditto
alias SocketOptionType(SocketOption opt : SocketOption.linger) = linger;
/// ditto
alias SocketOptionType(SocketOption opt : SocketOption.rcvtimeo) = timeval;
/// ditto
alias SocketOptionType(SocketOption opt : SocketOption.sndtimeo) = timeval;

screenshot-2017-10-29 alias socketoptiontype

https://martinnowak.github.io/io/std/io/net/socket/SocketOptionType.html

MartinNowak commented 7 years ago

Fixed, here is the test output.

alias Type(int val) = int;
alias Type(int val : 1) = float;
alias Type(int val : 2 = 2) = double;
alias Type(int val : 3) = byte;