https://issues.dlang.org/show_bug.cgi?id=17024

          Issue ID: 17024
           Summary: check Phobos for convenience wrapper for templated
                    struct
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nob...@puremagic.com
          Reporter: greeen...@gmail.com

Helps to let the compiler do its job. This style is very common in newer
modules of Phobos, but older bits still lack it.

One example from https://github.com/dlang/phobos/pull/4989

NullableRef!(int)(&x) -> nullableRef(&x);


Another example is [Unique](https://dlang.org/phobos/std_typecons.html#.Unique)

--

Reply via email to