From 9fb791e9fad6c63fc1dac49f4d05ae63b8a3db9b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Jan 2016 11:55:15 +0200 Subject: Rename build directory/namespace to build2 --- build2/types | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 build2/types (limited to 'build2/types') diff --git a/build2/types b/build2/types new file mode 100644 index 0000000..da96805 --- /dev/null +++ b/build2/types @@ -0,0 +1,55 @@ +// file : build2/types -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD2_TYPES +#define BUILD2_TYPES + +#include +#include +#include // pair +#include // unique_ptr, shared_ptr +#include // size_t +#include // reference_wrapper + +#include +#include + +#include + +namespace build2 +{ + // Commonly-used types. + // + using std::pair; + using std::size_t; + using std::string; + using std::unique_ptr; + using std::shared_ptr; + using std::reference_wrapper; + using std::vector; + + using strings = vector; + using cstrings = vector; + + // + // + using butl::path; + using butl::dir_path; + using butl::basic_path; + using butl::invalid_path; + + using paths = std::vector; + using dir_paths = std::vector; + + // + // + using butl::system_clock; + using butl::timestamp; + using butl::duration; + using butl::timestamp_unknown; + using butl::timestamp_nonexistent; + using butl::operator<<; +} + +#endif // BUILD2_TYPES -- cgit v1.1