Scroll to navigation

unsafe_pod_vector< T >(3) IsoSpec unsafe_pod_vector< T >(3)

NAME

unsafe_pod_vector< T >

SYNOPSIS

Public Types


typedef T * iterator
typedef const T * const_iterator
typedef T value_type
typedef size_t size_type
typedef T & reference
typedef const T & const_reference

Public Member Functions


void init ()
void init (size_t initial_size)
unsafe_pod_vector (const pod_vector< T > &other)=delete
unsafe_pod_vector & operator= (const pod_vector< T > &other)=delete
unsafe_pod_vector (unsafe_pod_vector< T > &&other)
void free ()
void fast_reserve (size_t n)
void reserve (size_t n)
void resize (size_t new_size)
void resize_and_wipe (size_t new_size)
ISOSPEC_FORCE_INLINE void nocheck_push_back (const T &val) noexcept
ISOSPEC_FORCE_INLINE void push_back (const T &val)
ISOSPEC_FORCE_INLINE T & operator[] (size_t n) noexcept
ISOSPEC_FORCE_INLINE const T & operator[] (size_t n) const noexcept
ISOSPEC_FORCE_INLINE size_t size () const noexcept
ISOSPEC_FORCE_INLINE size_t capacity () const noexcept
ISOSPEC_FORCE_INLINE T * data () noexcept
ISOSPEC_FORCE_INLINE const T * data () const noexcept
ISOSPEC_FORCE_INLINE bool empty () const noexcept
ISOSPEC_FORCE_INLINE const T & back () const noexcept
ISOSPEC_FORCE_INLINE void pop_back () noexcept
void swap (pod_vector< T > &other) noexcept
iterator begin () noexcept
const_iterator begin () const noexcept
const_iterator cbegin () const noexcept
iterator end () noexcept
const_iterator end () const noexcept
const_iterator cend () const noexcept
ISOSPEC_FORCE_INLINE const T & front () const noexcept
void clear ()

Friends


class pod_vector< T >

Detailed Description

template<typename T>

class unsafe_pod_vector< T >" Copyright (C) 2015-2020 Mateusz Łącki and Michał Startek.

This file is part of IsoSpec.

IsoSpec is free software: you can redistribute it and/or modify it under the terms of the Simplified ('2-clause') BSD licence.

IsoSpec 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.

You should have received a copy of the Simplified BSD Licence along with IsoSpec. If not, see https://opensource.org/licenses/BSD-2-Clause.

Definition at line 189 of file pod_vector.h.

Author

Generated automatically by Doxygen for IsoSpec from the source code.

Thu Oct 15 2020 Version 2.1.3