Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
pr83644.C
blob: 3bce9167e01a5f0e8648463e0e619010ff3e9a1a [
file
] [
log
] [
blame
]
// PR c++/83644
// { dg-do compile { target c++17 } }
namespace
std
{
template
<typename>
bool
is_invocable_v
;
}
template
<
typename
F
>
auto
compose
(
F
)
{
[](
auto
...
objs
)
noexcept
(
std
::
is_invocable_v
<
decltype
(
objs
)...>){};
}
auto
f
()
{
compose
(
3
);
}