LocARNA-1.8.11
Public Member Functions | List of all members
LocARNA::plusvector< T > Class Template Reference

Implements a vector with += operator. More...

#include <plusvector.hh>

Inheritance diagram for LocARNA::plusvector< T >:
Inheritance graph
[legend]
Collaboration diagram for LocARNA::plusvector< T >:
Collaboration graph
[legend]

Public Member Functions

plusvectoroperator+= (const T &x)
 Add an element to end of vector. More...
 

Detailed Description

template<class T>
class LocARNA::plusvector< T >

Implements a vector with += operator.

The class provides an alternate syntax for push_back.

See also
Alignment::write_pp() for usage example

Member Function Documentation

template<class T >
plusvector& LocARNA::plusvector< T >::operator+= ( const T &  x)
inline

Add an element to end of vector.

Parameters
xvector element
Returns
*this
Postcondition
x is added at end of *this (like push_back)

The documentation for this class was generated from the following files: