<commit_before>#ifndef GUARD_GEOM2D_VECTOR
#define GUARD_GEOM2D_VECTOR

namespace geom2d {

    template<typename T>
    class Vector {
        public:
            Vector<T> (T x, T y);
            ~Vector<T> () = default;

            bool operator== (Vector<T>& other);

            T get_x () {
                return x;
            };
            T get_y () {
                return y;
            };

        private:
            T x;
            T y;
    };

    template<typename T>
    Vector<T>::Vector (T x, T y) {
        this->x = x;
        this->y = y;
    }

    template<typename T>
    bool Vector<T>::operator== (Vector<T>& other) {
        return x == other.x && y == other.y;
    }

}

#endif // GUARD_GEOM2D_VECTOR
<commit_msg>Add constness to some functions in geom2d::Vector<commit_after>#ifndef GUARD_GEOM2D_VECTOR
#define GUARD_GEOM2D_VECTOR

namespace geom2d {

    template<typename T>
    class Vector {
        public:
            Vector<T> (T x, T y);
            ~Vector<T> () = default;

            bool operator== (const Vector<T>& other);

            T get_x () const {
                return x;
            };
            T get_y () const {
                return y;
            };

        private:
            T x;
            T y;
    };

    template<typename T>
    Vector<T>::Vector (T x, T y) {
        this->x = x;
        this->y = y;
    }

    template<typename T>
    bool Vector<T>::operator== (const Vector<T>& other) {
        return x == other.get_x() && y == other.get_y();
    }

}

#endif // GUARD_GEOM2D_VECTOR

{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.005739795918367347, 'mean_word_length': 1.4708661417322835, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 25, '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': '3279837', 'n_tokens_mistral': 532, 'n_tokens_neox': 512, 'n_words': 128}