mn_vector.hpp File Reference
Basic vector container This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ). More...
#include "../mn_config.hpp"
#include <assert.h>
#include "../mn_typetraits.hpp"
#include "../mn_algorithm.hpp"
#include "../mn_allocator.hpp"
Go to the source code of this file.
Classes | |
struct | mn::container::basic_vector_storage< T, TAllocator > |
class | mn::container::basic_vector< T, TAllocator, TStorage > |
Namespaces | |
mn | |
mn::container | |
Typedefs | |
template<typename T , class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
using | mn::container::vector = basic_vector< T, mn::memory::default_allocator > |
Functions | |
template<typename T , class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
void | mn::container::swap (basic_vector< T, TAllocator, TStorage > &a, basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator+ (const basic_vector< T, TAllocator, TStorage > &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator+ (const basic_vector< T, TAllocator, TStorage > &a, const T &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator+ (const T &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator- (const basic_vector< T, TAllocator, TStorage > &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator- (const basic_vector< T, TAllocator, TStorage > &a) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator- (const basic_vector< T, TAllocator, TStorage > &a, const T &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator- (const T &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator* (const basic_vector< T, TAllocator, TStorage > &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator* (const basic_vector< T, TAllocator, TStorage > &a, const T &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator* (const T &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator/ (const basic_vector< T, TAllocator, TStorage > &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator/ (const basic_vector< T, TAllocator, TStorage > &a, const T &b) |
template<typename T , int calc = 0, class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::operator/ (const T &a, const basic_vector< T, TAllocator, TStorage > &b) |
template<typename T , class TAllocator = mn::memory::default_allocator, class TStorage = basic_vector_storage<T, TAllocator>> | |
basic_vector< T, TAllocator, TStorage > | mn::container::scale (const basic_vector< T, TAllocator, TStorage > &v, const T s) |
Detailed Description
Basic vector container This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).
- License
- The Mini Thread Library 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, version 3, or (at your option) any later version.
The Mini Thread Library 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 General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the Mini Thread Library; if not, see https://www.gnu.org/licenses/.