4 #include "CoinSmartPtr.hpp"
9 class vector :
public std::vector<T>{
23 std::vector<T>::operator=(other);
27 return std::vector<T>::operator=(other);
33 if (std::vector<T>::size() == 0)
36 return &std::vector<T>::front();}
40 if (std::vector<T>::size() == 0)
43 return &std::vector<T>::front();
vector(size_t n, const T &v)
Constructor with initialization.
vector()
Default constructor.
T * operator()()
Access pointer to first element of storage.
vector(size_t n)
constructor with size.
const T * operator()() const
Access pointer to first element of storage.
A small wrap around std::vector to give easy access to array for interfacing with fortran code...
vector< T > & operator=(const vector< T > &other)
Assignment.
SimpleReferenced< X > * make_referenced(X other)
vector< T > & operator=(const std::vector< T > &other)
Assignment.
vector(const std::vector< T > &other)
Copy constructor.
const X & operator()() const
const X & operator()() const
vector(const vector< T > &other)
Copy constructor.