From 737877e62467b924eea0a43eab68258b0c13db78 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Feb 2017 09:48:12 +0200 Subject: Add MT-safe variable_cache, use for variable overrides --- build2/types | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build2/types') diff --git a/build2/types b/build2/types index 0e6012b..82ee889 100644 --- a/build2/types +++ b/build2/types @@ -15,7 +15,7 @@ #include // uint{8,16,32,64}_t, *_MIN, *_MAX #include #include -#include // function, reference_wrapper +#include // hash, function, reference_wrapper #include #include @@ -61,6 +61,8 @@ namespace build2 using std::function; using std::reference_wrapper; + using std::hash; + using std::initializer_list; using std::unique_ptr; @@ -101,6 +103,9 @@ namespace build2 using slock = ulock; #endif + using std::defer_lock; + using std::adopt_lock; + // Exceptions. // // While is included, there is no using for std::exception -- -- cgit v1.1