mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06: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;
|
||||
|
||||
template <typename... Args>
|
||||
Continuable<> make_continuable(Args&&...)
|
||||
{
|
||||
return Continuable<>();
|
||||
}
|
||||
Continuable<> make_continuable(Args&&...);
|
||||
|
||||
template <typename...>
|
||||
struct Continuable
|
||||
@ -45,6 +42,12 @@ struct Continuable
|
||||
}
|
||||
};
|
||||
|
||||
template <typename... Args>
|
||||
Continuable<> make_continuable(Args&&...)
|
||||
{
|
||||
return Continuable<>();
|
||||
}
|
||||
|
||||
template <typename... LeftArgs, typename... RightArgs>
|
||||
Continuable<> operator&& (Continuable<LeftArgs...>&&, Continuable<RightArgs...>&&)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user