diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-20 11:01:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-20 11:01:04 +0200 |
commit | 5389747f4fff27f85404c96ae969c0c1c7924d76 (patch) | |
tree | 1bb521763a40bcfcc069b776eae3d0e95a5f8746 /libbutl/optional.hxx | |
parent | e9cf760289b47767fdacc6a98fb2040d35a63d49 (diff) |
Add butl::move_only_function[_ex] similar to C++23 std::move_only_function
Diffstat (limited to 'libbutl/optional.hxx')
-rw-r--r-- | libbutl/optional.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libbutl/optional.hxx b/libbutl/optional.hxx index f569f8d..7d66ac5 100644 --- a/libbutl/optional.hxx +++ b/libbutl/optional.hxx @@ -63,9 +63,7 @@ #ifdef LIBBUTL_STD_OPTIONAL namespace butl { - template <typename T> - using optional = std::optional<T>; - + using std::optional; using std::nullopt_t; using std::nullopt; } |