Celeritas 0.7+0ff3ae206
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
celeritas::detail::DiscardStream Class Reference

Ignore anything that streams. More...

#include <Assert.hh>

Public Member Functions

void str () const
 Provide a str() function for ostringstream-like compatibility.
 

Friends

template<class T >
constexpr friend DiscardStreamoperator<< (DiscardStream &s, T &&)
 Ignore anything streamed to this class.
 

Detailed Description

Ignore anything that streams.

This prevents "unused variable" errors due to CELER_VALIDATE statements reachable from HIP code.


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