General Utility Library for C++14  2.11
Classes | Namespaces | Functions
SmallVector.h File Reference

Detailed Description

Definition of the SmallVector class template.

General Utility Library Contributors
Created on August 17, 2020

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see

#include <algorithm>
#include <array>
#include <initializer_list>
#include <iterator>
#include <limits>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include "gul14/internal.h"
#include "gul14/cat.h"
Include dependency graph for SmallVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  gul14::SmallVector< ElementT, in_capacity >
 A resizable container with contiguous storage that can hold a specified number of elements without allocating memory on the heap. More...


 Namespace gul14 contains all functions and classes of the General Utility Library.


template<typename ElementT , size_t in_capacity>
void gul14::swap (SmallVector< ElementT, in_capacity > &a, SmallVector< ElementT, in_capacity > &b)
 Exchange the contents of one SmallVector with those of another one. More...