[Issue 18998] Improve Operator Overloading docs

2023-09-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 Nick Treleaven changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18998] Improve Operator Overloading docs

2023-07-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 --- Comment #7 from Dlang Bot --- dlang/dlang.org pull request #3652 "[spec] Improve opCast & `opCast!bool` docs" was merged into master: - a6cfd0db7b7f74ec27c2d908d017d82e5355023b by Nick Treleaven: Part of Issue 18998 - Im

[Issue 18998] Improve Operator Overloading docs

2023-07-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 --- Comment #6 from Dlang Bot --- @ntrel updated dlang/dlang.org pull request #3652 "[spec] Improve opCast & `opCast!bool` docs" mentioning this issue: - Part of Issue 18998 - Improve Operator Overloading docs https://github.com/d

[Issue 18998] Improve Operator Overloading docs

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 Iain Buclaw changed: What|Removed |Added Priority|P1 |P4 --

[Issue 18998] Improve Operator Overloading docs

2022-12-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 --- Comment #5 from Nick Treleaven --- > try and understand how to implement a slicing operator properly. Note that > the first contact you see looks like this: > `-a[i..j]a.opIndexUnary!("-")(a.opSlice(i, j))` wat?! I think the docs for

[Issue 18998] Improve Operator Overloading docs

2022-12-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 --- Comment #4 from Nick Treleaven --- This one adds examples for opCmp, opOpAssign, s.opIndex(s.opSlice(...)). https://github.com/dlang/dlang.org/pull/3467 --

[Issue 18998] Improve Operator Overloading docs

2022-12-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #3 from Nick

[Issue 18998] Improve Operator Overloading docs

2018-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 Cristian Creteanu changed: What|Removed |Added CC||cristiancretean...@gmail.co

[Issue 18998] Improve Operator Overloading docs

2018-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 Seb changed: What|Removed |Added Keywords||bootcamp CC|

[Issue 18998] Improve Operator Overloading docs

2018-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 --- Comment #2 from Manu --- Convenience link: https://dlang.org/spec/operatoroverloading.html --

[Issue 18998] Improve Operator Overloading docs

2018-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18998 --- Comment #1 from Manu --- I also suggest, for each operator as it is introduced, demonstrate the 'canonical' signature; what is the 'most standard/correct' way to specify these functions in their most simple cases. Imagine you were writing a D