From 5925c11a1fe8b2e02b790dd40b031ae005d5b68f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 10 Mar 2015 15:42:04 +0200 Subject: Further operation implementation --- build/operation.cxx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 build/operation.cxx (limited to 'build/operation.cxx') diff --git a/build/operation.cxx b/build/operation.cxx new file mode 100644 index 0000000..0d90c95 --- /dev/null +++ b/build/operation.cxx @@ -0,0 +1,24 @@ +// file : build/operation.cxx -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#include + +#include + +using namespace std; + +namespace build +{ + ostream& + operator<< (ostream& os, action a) + { + return os << '(' + << static_cast (a.meta_operation ()) << ',' + << static_cast (a.operation ()) + << ')'; + } + + meta_operation_table meta_operations; + operation_table operations; +} -- cgit v1.1