|
LIEF: Library to Instrument Executable Formats Version 2.0.0
|
Storage of the container iterated by a ref_iterator or a filter_iterator. More...
#include <iterators.hpp>
Public Types | |
| using | container_t = std::remove_reference_t<T> |
| using | arg_t = T |
Public Member Functions | |
| container_storage ()=default | |
| container_storage (arg_t container) | |
| container_t * | get () const |
| The container or a nullptr if the storage is default-constructed. | |
Storage of the container iterated by a ref_iterator or a filter_iterator.
If the iterator is instantiated with a reference (e.g. std::vector<Section*>&), the container is borrowed the iterator and the storage is a pointer on it. Otherwise, the storage holds the container itself and copying the iterator copies the container.
| using LIEF::details::container_storage< T, bool >::arg_t = T |
| using LIEF::details::container_storage< T, bool >::container_t = std::remove_reference_t<T> |
|
default |
|
inlineexplicit |
|
inline |
The container or a nullptr if the storage is default-constructed.