Expression Templates Library (ETL)
Public Types | Public Member Functions | List of all members
etl::simple_vector< T, Alloc > Struct Template Reference

A simple std::vector to work with bool. More...

#include <aligned_vector.hpp>

Public Types

using value_type = T
 

Public Member Functions

 simple_vector (const simple_vector &rhs)
 
 simple_vector (simple_vector &&rhs)
 
simple_vectoroperator= (const simple_vector &rhs)
 
simple_vectoroperator= (simple_vector &&rhs)
 
void resize (size_t n)
 
T & operator[] (size_t i)
 
const T & operator[] (size_t i) const
 
T * data ()
 
const T * data () const
 

Detailed Description

template<typename T, typename Alloc>
struct etl::simple_vector< T, Alloc >

A simple std::vector to work with bool.

This vector does not have the same behaviour as std::vector<bool>, it's a real vector without proxy reference.


The documentation for this struct was generated from the following file: