template struct mola::ContainerDeque

Overview

template <class T, class BASE, class Tbase, class Tother, typename ID>
struct ContainerDeque: public BASE
{
    // fields

    std::deque<T> data_;

    // methods

    std::size_t size() const;
    std::pair<ID, T*> emplace_back(T&& e);
    const T& by_id(const ID id) const;
    T& by_id(const ID id);
    std::vector<ID> all_ids() const;
    void clear();
};