diff options
Diffstat (limited to 'build/operation.cxx')
-rw-r--r-- | build/operation.cxx | 24 |
1 files changed, 24 insertions, 0 deletions
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 <build/operation> + +#include <ostream> + +using namespace std; + +namespace build +{ + ostream& + operator<< (ostream& os, action a) + { + return os << '(' + << static_cast<uint16_t> (a.meta_operation ()) << ',' + << static_cast<uint16_t> (a.operation ()) + << ')'; + } + + meta_operation_table meta_operations; + operation_table operations; +} |