[Issue 24569] operator overloading on pointer to value-type instances

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 27 14:37:01 UTC 2024


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

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl

--- Comment #1 from Dennis <dkorpel at live.nl> ---
Pointers already overload most operators (pointer arithmetic and slicing), so I
don't think it's good practice to depend on overloading the remaining ones. Do
you have a real type in use where you want to overload concatenation but keep
pointer indexing?

--


More information about the Digitalmars-d-bugs mailing list