www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15980] New: std.traits.Identity is undocumented but public

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

          Issue ID: 15980
           Summary: std.traits.Identity is undocumented but public
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: joseph.wakeling webdrake.net

The `Identity` alias defined in std.traits is publicly available (I discovered
it through a selective import in a downstream project), but not documented in
any way:
https://github.com/dlang/phobos/blob/1e9fdc08f5dac1e7cd87919bd408164dd2084370/std/traits.d#L3260

I'd happily fix the problem directly with a PR, but I'm not sure quite what the
purpose of this symbol is, so reporting it here as a first step.

--
May 01 2016