aboutsummaryrefslogtreecommitdiff
path: root/build/types
diff options
context:
space:
mode:
Diffstat (limited to 'build/types')
-rw-r--r--build/types9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/types b/build/types
index 5f6b3de..0a71252 100644
--- a/build/types
+++ b/build/types
@@ -6,6 +6,7 @@
#define BUILD_TYPES
#include <vector>
+#include <string>
#include <butl/path>
#include <butl/timestamp>
@@ -16,6 +17,8 @@ namespace build
{
// Commonly-used types.
//
+ using strings = std::vector<std::string>;
+ using cstrings = std::vector<const char*>;
// <butl/path>
//
@@ -24,6 +27,9 @@ namespace build
using butl::basic_path;
using butl::invalid_path;
+ using paths = std::vector<path>;
+ using dir_paths = std::vector<dir_path>;
+
// <butl/timestamp>
//
using butl::system_clock;
@@ -32,9 +38,6 @@ namespace build
using butl::timestamp_unknown;
using butl::timestamp_nonexistent;
using butl::operator<<;
-
- typedef std::vector<path> paths;
- typedef std::vector<dir_path> dir_paths;
}
#endif // BUILD_TYPES