From b37f1aa6398065be806e6605a023189685669885 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Feb 2017 03:55:15 +0200 Subject: Implement parallel match --- build2/utility.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'build2/utility.cxx') diff --git a/build2/utility.cxx b/build2/utility.cxx index 76d3367..4bd4583 100644 --- a/build2/utility.cxx +++ b/build2/utility.cxx @@ -18,6 +18,16 @@ using namespace std; // // // +namespace build2 +{ + static const char* const run_phase_[] = {"load", "match", "execute"}; + + ostream& + operator<< (ostream& os, run_phase p) + { + return os << run_phase_[static_cast (p)]; + } +} namespace std { -- cgit v1.1