mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 17:26:47 +08:00
Remove the deprecated composition APIs
This commit is contained in:
parent
6481b5454d
commit
8e8f5e982d
@ -596,17 +596,6 @@ auto when_all(Continuables&&... continuables) {
|
||||
std::forward<Continuables>(continuables)...);
|
||||
}
|
||||
|
||||
/// \copydoc when_all
|
||||
///
|
||||
/// \since version 1.0.0
|
||||
///
|
||||
/// \deprecated Use the `when_all` function instead.
|
||||
template <typename... Continuables>
|
||||
[[deprecated("Replaced by cti::when_all")]] auto
|
||||
all_of(Continuables&&... continuables) {
|
||||
return when_all(std::forward<Continuables>(continuables)...);
|
||||
}
|
||||
|
||||
/// Connects the given continuables with an *any* logic.
|
||||
///
|
||||
/// \param continuables The continuable_base objects to connect.
|
||||
@ -623,17 +612,6 @@ auto when_any(Continuables&&... continuables) {
|
||||
std::forward<Continuables>(continuables)...);
|
||||
}
|
||||
|
||||
/// \copydoc when_any
|
||||
///
|
||||
/// \since version 1.0.0
|
||||
///
|
||||
/// \deprecated Use the `when_any` function instead.
|
||||
template <typename... Continuables>
|
||||
[[deprecated("Replaced by cti::when_any")]] auto
|
||||
any_of(Continuables&&... continuables) {
|
||||
return when_any(std::forward<Continuables>(continuables)...);
|
||||
}
|
||||
|
||||
/// Connects the given continuables with a *seq* logic.
|
||||
///
|
||||
/// \param continuables The continuable_base objects to connect.
|
||||
@ -650,17 +628,6 @@ auto when_seq(Continuables&&... continuables) {
|
||||
std::forward<Continuables>(continuables)...);
|
||||
}
|
||||
|
||||
/// \copydoc when_seq
|
||||
///
|
||||
/// \since version 1.0.0
|
||||
///
|
||||
/// \deprecated Use the `when_seq` function instead.
|
||||
template <typename... Continuables>
|
||||
[[deprecated("Replaced by cti::when_seq")]] auto
|
||||
seq_of(Continuables&&... continuables) {
|
||||
return when_seq(std::forward<Continuables>(continuables)...);
|
||||
}
|
||||
|
||||
/// Trait to retrieve a continuable_base type with a given type-erasure backend.
|
||||
///
|
||||
/// Every object may me used as type-erasure backend as long as the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user