|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|
#include <initializer_list>#include <limits>#include "corecel/Config.hh"#include "Collection.hh"#include "detail/FillInvalid.hh"Classes | |
| class | celeritas::CollectionBuilder< T, M, I > |
| Helper class for constructing Collection objects. More... | |
Functions | |
| template<class T , MemSpace M, class I > | |
| celeritas::CollectionBuilder (Collection< T, Ownership::value, M, I > *) -> CollectionBuilder< T, M, I > | |
| template<class T , MemSpace M, class I > | |
| CollectionBuilder< T, M, I > | celeritas::make_builder (Collection< T, Ownership::value, M, I > *collection) |
| Helper function for constructing collection builders. | |
| template<class T , MemSpace M, class I > | |
| void | celeritas::resize (Collection< T, Ownership::value, M, I > *collection, std::size_t size) |
| Helper function for resizing a single collection. | |
| CollectionBuilder< T, M, I > celeritas::make_builder | ( | Collection< T, Ownership::value, M, I > * | collection | ) |
Helper function for constructing collection builders.
(Will not be needed under C++17's template argument deduction).
| void celeritas::resize | ( | Collection< T, Ownership::value, M, I > * | collection, |
| std::size_t | size | ||
| ) |
Helper function for resizing a single collection.
This is useful for analogy to the resize method defined for states.