Halide 20.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Internal::ReportBase< T > Struct Template Reference

#include <Error.h>

Public Member Functions

 ReportBase (const char *file, const char *function, int line, const char *condition_string, const char *prefix)
 
HALIDE_ALWAYS_INLINE T & ref ()
 
template<typename S >
HALIDE_ALWAYS_INLINE T & operator<< (const S &x)
 

Public Attributes

std::ostringstream msg
 

Protected Member Functions

std::string finalize_message ()
 

Detailed Description

template<typename T>
struct Halide::Internal::ReportBase< T >

Definition at line 125 of file Error.h.

Constructor & Destructor Documentation

◆ ReportBase()

template<typename T >
Halide::Internal::ReportBase< T >::ReportBase ( const char file,
const char function,
int  line,
const char condition_string,
const char prefix 
)
inline

Definition at line 128 of file Error.h.

References Halide::Internal::debug_is_active_impl().

Member Function Documentation

◆ ref()

template<typename T >
HALIDE_ALWAYS_INLINE T & Halide::Internal::ReportBase< T >::ref ( )
inline

Definition at line 138 of file Error.h.

◆ operator<<()

template<typename T >
template<typename S >
HALIDE_ALWAYS_INLINE T & Halide::Internal::ReportBase< T >::operator<< ( const S x)
inline

Definition at line 143 of file Error.h.

◆ finalize_message()

template<typename T >
std::string Halide::Internal::ReportBase< T >::finalize_message ( )
inlineprotected

Definition at line 149 of file Error.h.

Member Data Documentation

◆ msg

template<typename T >
std::ostringstream Halide::Internal::ReportBase< T >::msg

Definition at line 126 of file Error.h.


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