Celeritas 0.7.0-dev.356+develop.6a0c715
Loading...
Searching...
No Matches
Public Attributes | List of all members
celeritas::StreamableContainer< T > Struct Template Reference

Helper class to print a contiguous range of data. More...

#include <StreamableContainer.hh>

Public Attributes

T constdata {}
 
std::size_t size {}
 

Detailed Description

template<class T>
struct celeritas::StreamableContainer< T >

Helper class to print a contiguous range of data.

Since this class is used by both Array and Span, it is templated solely on the item type, and directly uses a non-owning pointer with a size.

std::cout << StreamableContainer{s.data(), s.size()} << std::endl;
Helper class to print a contiguous range of data.
Definition StreamableContainer.hh:26

The documentation for this struct was generated from the following file: