diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 09:48:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | 737877e62467b924eea0a43eab68258b0c13db78 (patch) | |
tree | 3fe2f539a21ce0407cdaa908a9af56b4cf8087e0 /build2/types | |
parent | 38290dacd8faab166774d757a1e09807e57e9ba5 (diff) |
Add MT-safe variable_cache, use for variable overrides
Diffstat (limited to 'build2/types')
-rw-r--r-- | build2/types | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build2/types b/build2/types index 0e6012b..82ee889 100644 --- a/build2/types +++ b/build2/types @@ -15,7 +15,7 @@ #include <cstdint> // uint{8,16,32,64}_t, *_MIN, *_MAX #include <istream> #include <ostream> -#include <functional> // function, reference_wrapper +#include <functional> // hash, function, reference_wrapper #include <initializer_list> #include <mutex> @@ -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 <exception> is included, there is no using for std::exception -- |