/*
 * Copyright (c) 2024 Ember
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#pragma once

// std::inplace_vector is effectively static_vector - delete when no longer needed
#if !defined __cpp_lib_inplace_vector && __GNUC__ < 16

#include <boost/container/static_vector.hpp>
#include <cstddef>

namespace std {

template<class T, std::size_t N>
using inplace_vector = boost::container::static_vector<T, N>; // it was boost all along!

} // std

#else
#include <inplace_vector>
#endif
