mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
fix clang & gcc build
This commit is contained in:
parent
cf07fca0dc
commit
b24cc065b5
11
mockup.cpp
11
mockup.cpp
@ -24,10 +24,7 @@ template <typename...>
|
|||||||
struct Continuable;
|
struct Continuable;
|
||||||
|
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
Continuable<> make_continuable(Args&&...)
|
Continuable<> make_continuable(Args&&...);
|
||||||
{
|
|
||||||
return Continuable<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename...>
|
template <typename...>
|
||||||
struct Continuable
|
struct Continuable
|
||||||
@ -45,6 +42,12 @@ struct Continuable
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <typename... Args>
|
||||||
|
Continuable<> make_continuable(Args&&...)
|
||||||
|
{
|
||||||
|
return Continuable<>();
|
||||||
|
}
|
||||||
|
|
||||||
template <typename... LeftArgs, typename... RightArgs>
|
template <typename... LeftArgs, typename... RightArgs>
|
||||||
Continuable<> operator&& (Continuable<LeftArgs...>&&, Continuable<RightArgs...>&&)
|
Continuable<> operator&& (Continuable<LeftArgs...>&&, Continuable<RightArgs...>&&)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user