mirror of
https://github.com/Naios/continuable.git
synced 2026-02-16 23:29:48 +08:00
Re-enable the converting constructor of continuable_base
* Probably a forgotten leftover from debugging mainly responsible for more efficient conversions only.
This commit is contained in:
parent
e9be3eb8c3
commit
d842c14268
@ -134,12 +134,12 @@ public:
|
|||||||
///
|
///
|
||||||
/// This constructor makes it possible to replace the internal data object of
|
/// This constructor makes it possible to replace the internal data object of
|
||||||
/// the continuable by any object which is useful for type-erasure.
|
/// the continuable by any object which is useful for type-erasure.
|
||||||
/*template <typename OData,
|
template <typename OData,
|
||||||
std::enable_if_t<std::is_convertible<
|
std::enable_if_t<std::is_convertible<
|
||||||
detail::traits::unrefcv_t<OData>, Data>::value>* = nullptr>
|
detail::traits::unrefcv_t<OData>, Data>::value>* = nullptr>
|
||||||
continuable_base(continuable_base<OData, Annotation>&& other)
|
/* implicit */ continuable_base(continuable_base<OData, Annotation>&& other)
|
||||||
: continuable_base(std::move(other).consume()) {
|
: continuable_base(std::move(other).consume()) {
|
||||||
}*/
|
}
|
||||||
|
|
||||||
/// Constructor taking the data of other continuable_base objects
|
/// Constructor taking the data of other continuable_base objects
|
||||||
/// while erasing the hint.
|
/// while erasing the hint.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user