[Issue 19147] Reduce template bloat in std.complex by using const arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 10 20:59:05 UTC 2018


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

--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/043ef8f7537b3e22b65f59480a1704e1b6f40e4d
Fix Issue 19147 - Reduce template bloat in std.complex by using const arguments

Labeling variably-typed arguments of templated functions as const
causes the same type to be inferred when the argument is const,
non-const, and immutable.

https://github.com/dlang/phobos/commit/565a51f8c6e8b703c0b625568a6f14473345f5d8
Merge pull request #6656 from n8sh/issue-19147-complex-antibloat

Fix Issue 19147 - Reduce template bloat in std.complex by using const arguments
merged-on-behalf-of: Petar Kirov <ZombineDev at users.noreply.github.com>

--


More information about the Digitalmars-d-bugs mailing list