[Issue 21237] New: isLvalueAssignable and isRvalueAssignable should be public
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 11 13:01:24 UTC 2020
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: nobody at puremagic.com
Reporter: snarwin+bugzilla at gmail.com
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.
--
More information about the Digitalmars-d-bugs
mailing list