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:
Denis Blank 2019-03-19 17:06:58 +01:00
parent e9be3eb8c3
commit d842c14268

View File

@ -134,12 +134,12 @@ public:
///
/// This constructor makes it possible to replace the internal data object of
/// the continuable by any object which is useful for type-erasure.
/*template <typename OData,
template <typename OData,
std::enable_if_t<std::is_convertible<
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()) {
}*/
}
/// Constructor taking the data of other continuable_base objects
/// while erasing the hint.