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

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

#pragma once
#include <iterator>
#include <utility>

#include "inc/Main.h"

namespace graphite2 {


// A read-only packed fast sparse array of uint16 with uint16 keys.
// Like most container classes this has capacity and size properties and these
// refer to the number of stored entries and the number of addressable entries
// as normal. However due the sparse nature the capacity is always <= than the
// size.
class sparse
{};


inline
sparse::sparse() throw() :{}


template <typename I>
sparse::sparse(I attr, const I last)
: m_nchunks(0)
{}


operator bool()

inline
size_t sparse::size() const throw()
{}

inline
size_t sparse::_sizeof() const throw()
{}

} // namespace graphite2