Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
The members of {{Future<
{void,Status}>}} differ from other instantiations of Future<> since they contain only a Status and not a value. This is reasonable, however it complicates generic usage of Future<> since special cases must be added for the different interfaces. IMHO it'd be acceptable to provide an empty "ValueType" (or maybe std::nullptr_t to follow the precedent of Datum's default state) for those specializations to keep the interface generic.
Attachments
Issue Links
- links to