forked from boostorg/system
Add in_place_value, in_place_error to result<>. Refs #93.
This commit is contained in:
1 parent
52d7429473
commit
20ce51858b
5 files changed
+289
No files matched your search
@@ -100,6 +100,9 @@ public:
|
||||
using value_type = T;
|
||||
using error_type = E;
|
||||
|
||||
static constexpr in_place_value_t in_place_value{};
|
||||
static constexpr in_place_error_t in_place_error{};
|
||||
|
||||
public:
|
||||
|
||||
// constructors
|
||||
@@ -454,6 +457,9 @@ public:
|
||||
using value_type = void;
|
||||
using error_type = E;
|
||||
|
||||
static constexpr in_place_value_t in_place_value{};
|
||||
static constexpr in_place_error_t in_place_error{};
|
||||
|
||||
public:
|
||||
|
||||
// constructors
|
||||
|
||||
Reference in new issue
Block a user