Celeritas 0.6.0-67+develop.47f47c88
Loading...
Searching...
No Matches
Namespaces | Functions
OpaqueIdUtils.hh File Reference
#include <limits>
#include <vector>
#include "corecel/OpaqueId.hh"
#include "corecel/cont/Span.hh"
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  celeritas::test
 Test harness base class for optical physics.
 

Functions

template<class I , class T >
constexpr int celeritas::test::id_to_int (OpaqueId< I, T > val) noexcept
 Convert an opaque ID for easier testing.
 
template<class I , class T >
auto celeritas::test::id_to_int (Span< OpaqueId< I, T > const > vals)
 Convert a vector of opaque IDs for easier testing.