Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue 19147 - Reduce template bloat in std.complex by using const arguments #6656

Merged
merged 1 commit into from
Aug 10, 2018

Conversation

n8sh
Copy link
Member

@n8sh n8sh commented Aug 6, 2018

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.

… 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.
@n8sh n8sh requested a review from kyllingstad as a code owner August 6, 2018 22:57
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @n8sh!

Bugzilla references

Auto-close Bugzilla Severity Description
19147 minor Reduce template bloat in std.complex by using const arguments

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + phobos#6656"

Copy link
Member

@PetarKirov PetarKirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dlang-bot dlang-bot merged commit 565a51f into dlang:master Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants