This file is indexed.

/usr/include/lexertl/serialise.hpp is in libpuma-dev 1:2.1-2+b1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
27
28
// serialise.hpp
// Copyright (c) 2007-2015 Ben Hanson (http://www.benhanson.net/)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file licence_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef LEXERTL_SERIALISE_HPP
#define LEXERTL_SERIALISE_HPP

#include "state_machine.hpp"
#include <boost/serialization/vector.hpp>

namespace lexertl
{
// IMPORTANT! This won't work if you don't enable RTTI!
template<typename CharT, typename id_type, class Archive>
void serialise(basic_state_machine<CharT, id_type> &sm_, Archive &ar_)
{
    detail::basic_internals<id_type> &internals_ = sm_.data();

    ar_ & internals_._eoi;
    ar_ & *internals_._lookup;
    ar_ & internals_._dfa_alphabet;
    ar_ & internals_._features;
    ar_ & *internals_._dfa;
}
}

#endif