summaryrefslogtreecommitdiff
path: root/core/report_runtimeid.cpp
blob: 0e06afdccca10d859ecaab2a8b43c3a6fbd97a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>

#include <boost/mpl/for_each.hpp>

#include "quant_types.hpp"

using namespace std;

struct printer {
  template<typename T>
  void operator() (T x) {
    cout << T::name << ":\t" << (int) RuntimeID<T>::value << endl;
  }
};

int main()
{
  boost::mpl::for_each<QuantorList>(printer());
}
contact: Jan Huwald // Impressum