kraken-assessment/src/parse/parse.hh

18 lines
306 B
C++
Raw Normal View History

2022-03-12 01:54:51 +01:00
#pragma once
#include <iosfwd>
#include <stdexcept>
#include <vector>
#include "book/order.hh"
2022-03-12 01:54:51 +01:00
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