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
834189eabf
commit
e7ffe69fa7
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