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

          Issue ID: 21237
           Summary: isLvalueAssignable and isRvalueAssignable should be
                    public
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

Some types, such as types with @disabled copy constructors and types with
opAssign overloads that accept the rhs only by ref, satisfy one but not the
other. It would be useful for generic code to be able to distinguish these
types from types that do not allow assignment at all.

--

Reply via email to