Closed
Description
[ranges.syn]/1 defines an exposition only function make-unsigned-like
and an exposition-only metafunction make-unsigned-like-t
. These two names are hard to distinguish, doubly so with an argument list:
make-unsigned-like(meow)
vs.make-unsigned-like-t(woof)
.
It would help somewhat if make-unsigned-like-t
were treated as an exposition-only alias template:
make-unsigned-like(meow)
vs.make-unsigned-like-t<woof>
but ideally the names themselves should be more distinct as well. @jwakely suggests renaming make-unsigned-like
to as-unsigned-like
or to-unsigned-like
, which preserves the intended similarity between make-unsigned-like-t
and make_unsigned_t
.
(As discussed in #3299 (comment)).
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
jensmaurer commentedon Oct 21, 2019
Editorial meeting: When we have exposition-only foo and foo-t, their relationship should be the same as any other bar and bar_t. That's not the case here. Rename "make-unsigned-like" to "to-unsigned-like".
[ranges] Rename make-unsigned-like to to-unsigned-like
[ranges] Rename make-unsigned-like to to-unsigned-like
[ranges] Rename make-unsigned-like to to-unsigned-like
[ranges] Rename make-unsigned-like to to-unsigned-like