Empirical
|
#include <LinearCode.h>
Public Types | |
using | iterator = iterator_wrapper< typename stdv_t::iterator > |
using | const_iterator = iterator_wrapper< typename stdv_t::const_iterator > |
using | reverse_iterator = iterator_wrapper< typename stdv_t::reverse_iterator > |
using | const_reverse_iterator = iterator_wrapper< typename stdv_t::const_reverse_iterator > |
using | value_type = Instruction< ARG_COUNT, ARG_TYPE > |
using | size_type = typename stdv_t::size_type |
using | reference = typename stdv_t::reference |
using | const_reference = typename stdv_t::const_reference |
Public Member Functions | |
void | AddInst (size_t id, const emp::array< ARG_TYPE, ARG_COUNT > &in_args={}) |
size_t | size () const |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
void | resize (size_t new_size) |
void | resize (size_t new_size, const Instruction< ARG_COUNT, ARG_TYPE > &val) |
Instruction< ARG_COUNT, ARG_TYPE > & | operator[] (size_t pos) |
const Instruction< ARG_COUNT, ARG_TYPE > & | operator[] (size_t pos) const |
Instruction< ARG_COUNT, ARG_TYPE > & | back () |
const Instruction< ARG_COUNT, ARG_TYPE > & | back () const |
Instruction< ARG_COUNT, ARG_TYPE > & | front () |
const Instruction< ARG_COUNT, ARG_TYPE > & | front () const |
void | push_back (PB_Ts &&...args) |
void | pop_back () |
iterator | insert (ARGS &&...args) |
iterator | erase (ARGS &&...args) |
iterator | emplace (ARGS &&...args) |
void | emplace_back (ARGS &&...args) |
Public Attributes | |
int | revision |
Setup a revision number - iterators must match the revision of their vector. More... | |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Setup a revision number - iterators must match the revision of their vector.