diff options
Diffstat (limited to 'libbuild2/types.hxx')
-rw-r--r-- | libbuild2/types.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbuild2/types.hxx b/libbuild2/types.hxx index dd82ef1..8dfda6e 100644 --- a/libbuild2/types.hxx +++ b/libbuild2/types.hxx @@ -16,6 +16,7 @@ #include <map> #include <array> #include <tuple> +#include <regex> #include <vector> #include <string> #include <memory> // unique_ptr, shared_ptr @@ -44,6 +45,7 @@ #include <libbutl/path.mxx> #include <libbutl/path-map.mxx> +#include <libbutl/regex.mxx> #include <libbutl/sha256.mxx> #include <libbutl/process.mxx> #include <libbutl/fdstream.mxx> @@ -105,6 +107,14 @@ namespace build2 using std::endl; using std::streamsize; // C++'s ssize_t. + // Regex. + // + // Note that <libbutl/regex.mxx> includes an ostream insertion operator for + // regex_error which prints cleaned up message, if any. + // + using std::regex; + using std::regex_error; + // Concurrency. // using std::atomic; |