blob: 80258a7a8813009b15f148ef8b0b7426e22db607 (
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
25
26
|
// file : odb/location.hxx
// copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
// license : GNU GPL v3; see accompanying LICENSE file
#ifndef ODB_LOCATION_HXX
#define ODB_LOCATION_HXX
#include <odb/gcc-fwd.hxx>
#include <cstddef>
#include <cutl/fs/path.hxx>
struct location
{
location (location_t);
location (cutl::fs::path const& f, std::size_t l, std::size_t c)
: file (f), line (l), column (c)
{
}
cutl::fs::path file;
std::size_t line;
std::size_t column;
};
#endif // ODB_LOCATION_HXX
|