aboutsummaryrefslogtreecommitdiff
path: root/build/operation.cxx
blob: 0d90c95aa4c3fb1d12543d635306cda7e031e923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}