Skip to content

Commit 7ceef7e

Browse files
committed
[meta.{syn, reflection.traits}] Rename "swappable_with_type" parameters to type1, type2.
These functions are symmetric and don't have a "src" and "dst".
1 parent 0efc664 commit 7ceef7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/meta.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3170,7 +3170,7 @@
31703170
consteval bool is_copy_assignable_type(info type);
31713171
consteval bool is_move_assignable_type(info type);
31723172

3173-
consteval bool is_swappable_with_type(info type_dst, info type_src);
3173+
consteval bool is_swappable_with_type(info type1, info type2);
31743174
consteval bool is_swappable_type(info type);
31753175

31763176
consteval bool is_destructible_type(info type);
@@ -3196,7 +3196,7 @@
31963196
consteval bool is_nothrow_copy_assignable_type(info type);
31973197
consteval bool is_nothrow_move_assignable_type(info type);
31983198

3199-
consteval bool is_nothrow_swappable_with_type(info type_dst, info type_src);
3199+
consteval bool is_nothrow_swappable_with_type(info type1, info type2);
32003200
consteval bool is_nothrow_swappable_type(info type);
32013201

32023202
consteval bool is_nothrow_destructible_type(info type);
@@ -6623,7 +6623,7 @@
66236623
consteval bool @\libglobal{is_copy_assignable_type}@(info type);
66246624
consteval bool @\libglobal{is_move_assignable_type}@(info type);
66256625

6626-
consteval bool @\libglobal{is_swappable_with_type}@(info type_dst, info type_src);
6626+
consteval bool @\libglobal{is_swappable_with_type}@(info type1, info type2);
66276627
consteval bool @\libglobal{is_swappable_type}@(info type);
66286628

66296629
consteval bool @\libglobal{is_destructible_type}@(info type);
@@ -6649,7 +6649,7 @@
66496649
consteval bool @\libglobal{is_nothrow_copy_assignable_type}@(info type);
66506650
consteval bool @\libglobal{is_nothrow_move_assignable_type}@(info type);
66516651

6652-
consteval bool @\libglobal{is_nothrow_swappable_with_type}@(info type_dst, info type_src);
6652+
consteval bool @\libglobal{is_nothrow_swappable_with_type}@(info type1, info type2);
66536653
consteval bool @\libglobal{is_nothrow_swappable_type}@(info type);
66546654

66556655
consteval bool @\libglobal{is_nothrow_destructible_type}@(info type);

0 commit comments

Comments
 (0)