godot/thirdparty/graphite/src/inc/List.h

// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
// Copyright 2010, SIL International, All rights reserved.


// designed to have a limited subset of the std::vector api
#pragma once

#include <cstddef>
#include <cassert>
#include <cstring>
#include <cstdlib>
#include <new>

#include "Main.h"

namespace graphite2 {

template <typename T>
inline
ptrdiff_t distance(T* first, T* last) {}


template <typename T>
class Vector
{};

template <typename T>
inline
void Vector<T>::reserve(size_t n)
{}

template <typename T>
inline
void Vector<T>::resize(size_t n, const T & v) {}

template<typename T>
inline
typename Vector<T>::iterator Vector<T>::_insert_default(iterator p, size_t n)
{}

template<typename T>
inline
void Vector<T>::insert(iterator p, size_t n, const T & x)
{}

template<typename T>
inline
void Vector<T>::insert(iterator p, const_iterator first, const_iterator last)
{}

template<typename T>
inline
typename Vector<T>::iterator Vector<T>::erase(iterator first, iterator last)
{}

} // namespace graphite2