aboutsummaryrefslogtreecommitdiff
path: root/libbutl/optional.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-20 11:01:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-20 11:01:04 +0200
commit5389747f4fff27f85404c96ae969c0c1c7924d76 (patch)
tree1bb521763a40bcfcc069b776eae3d0e95a5f8746 /libbutl/optional.hxx
parente9cf760289b47767fdacc6a98fb2040d35a63d49 (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.hxx4
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;
}