kraken-assessment/src/parse/parse.hh
Bruno BELANYI 21ff896730 kraken: move 'Order' definition to 'book'
I think it makes more sense to centralise these important types in the
`book` library.
2022-03-12 11:07:20 +01:00

18 lines
306 B
C++

#pragma once
#include <iosfwd>
#include <stdexcept>
#include <vector>
#include "book/order.hh"
namespace kraken::parse {
struct ParseError : public std::runtime_error {
using std::runtime_error::runtime_error;
};
std::vector<Order> parse_orders(std::istream& input);
} // namespace kraken::parse