File: CommonTest.h

package info (click to toggle)
freeorion 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 194,940 kB
  • sloc: cpp: 186,508; python: 40,969; ansic: 1,164; xml: 719; makefile: 32; sh: 7
file content (19 lines) | stat: -rw-r--r-- 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef COMMON_HPP
#define COMMON_HPP

#include <ostream>
#include <typeinfo>

#include <boost/spirit/include/qi_expect.hpp>

#include "universe/ValueRefs.h"
#include "parse/Lexer.h"

namespace std {
    std::ostream& operator << (std::ostream& stream, const std::type_info& type);
    std::ostream& operator << (std::ostream& stream, const ValueRef::OpType& type);
}

void print_expectation_failure(const boost::spirit::qi::expectation_failure<parse::token_iterator>& ex);

#endif