<commit_before>#pragma once

#include <vector>
#include <stdexcept>

#include <boost/serialization/access.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/vector.hpp>

#include <maps/grid/Index.hpp>

namespace maps { namespace grid
{

    template <typename CellT>
    class VectorGrid
    {
        /** The cells grid element **/
        std::vector<CellT> cells;

        /** Number of cells in X-axis and Y-axis **/
        Vector2ui num_cells;

        /** Default value **/
        CellT default_value;

    public:

        typedef typename std::vector<CellT>::iterator iterator;
        typedef typename std::vector<CellT>::const_iterator const_iterator;

        VectorGrid(Vector2ui size, CellT default_value) 
            : num_cells(size), 
              default_value(default_value)
        {
            resize(size);
        }<commit_msg>CellType typedef is required for envire_maps-gis<commit_after>#pragma once

#include <vector>
#include <stdexcept>

#include <boost/serialization/access.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/vector.hpp>

#include <maps/grid/Index.hpp>

namespace maps { namespace grid
{

    template <typename CellT>
    class VectorGrid
    {
        /** The cells grid element **/
        std::vector<CellT> cells;

        /** Number of cells in X-axis and Y-axis **/
        Vector2ui num_cells;

        /** Default value **/
        CellT default_value;

    public:

        typedef CellT CellType;
        typedef typename std::vector<CellT>::iterator iterator;
        typedef typename std::vector<CellT>::const_iterator const_iterator;

        VectorGrid(Vector2ui size, CellT default_value) 
            : num_cells(size), 
              default_value(default_value)
        {
            resize(size);
        }
{'fraction_non_alphanumeric': 0.10543657331136738, 'fraction_numerical': 0.002196595277320154, 'mean_word_length': 2.615079365079365, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5660228', 'n_tokens_mistral': 543, 'n_tokens_neox': 515, 'n_words': 124}