Skip to content

Commit 4fccf29

Browse files
brycelelbachjensmaurer
authored andcommitted
[functional.syn] Move variable templates next to traits. (#3536)
1 parent 93c581c commit 4fccf29

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

source/utilities.tex

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13537,7 +13537,11 @@
1353713537

1353813538
// \ref{func.bind}, bind
1353913539
template<class T> struct is_bind_expression;
13540+
template<class T>
13541+
inline constexpr bool @\libglobal{is_bind_expression_v}@ = is_bind_expression<T>::value;
1354013542
template<class T> struct is_placeholder;
13543+
template<class T>
13544+
inline constexpr int @\libglobal{is_placeholder_v}@ = is_placeholder<T>::value;
1354113545

1354213546
template<class F, class... BoundArgs>
1354313547
constexpr @\unspec@ bind(F&&, BoundArgs&&...);
@@ -13588,12 +13592,6 @@
1358813592
template<class T>
1358913593
struct hash;
1359013594

13591-
// \ref{func.bind}, function object binders
13592-
template<class T>
13593-
inline constexpr bool @\libglobal{is_bind_expression_v}@ = is_bind_expression<T>::value;
13594-
template<class T>
13595-
inline constexpr int @\libglobal{is_placeholder_v}@ = is_placeholder<T>::value;
13596-
1359713595
namespace ranges {
1359813596
// \ref{range.cmp}, concept-constrained comparisons
1359913597
struct equal_to;

0 commit comments

Comments
 (0)