libart-paperback 0.1.0-a.1.20260122225059.e5fea306241a
PDF (1.4) library for C++
Art::Paperback::raise< T > Class Template Reference

Helper to throw exceptions. More...

#include <art/paperback/except.hxx>

Public Member Functions

 raise (std::source_location origin=std::source_location::current())
 
 raise (raise const &)=delete
 Copy-construction is prohibited.
 
 raise (raise &&)=delete
 Move-construction is prohibited.
 
raiseoperator= (raise const &)=delete
 Copy-assignment is prohibited.
 
raiseoperator= (raise &&)=delete
 Move-assignment is prohibited.
 
template<typename U>
raise< T > & operator<< (U const &other)
 

Private Attributes

std::source_location _origin
 
stringstream _str
 

Detailed Description

template<typename T>
class Art::Paperback::raise< T >

Helper to throw exceptions.

Constructor & Destructor Documentation

◆ raise() [1/2]

template<typename T>
Art::Paperback::raise< T >::raise ( raise< T > const & )
delete

Copy-construction is prohibited.

◆ raise() [2/2]

template<typename T>
Art::Paperback::raise< T >::raise ( raise< T > && )
delete

Move-construction is prohibited.

Member Function Documentation

◆ operator=() [1/2]

template<typename T>
raise & Art::Paperback::raise< T >::operator= ( raise< T > const & )
delete

Copy-assignment is prohibited.

◆ operator=() [2/2]

template<typename T>
raise & Art::Paperback::raise< T >::operator= ( raise< T > && )
delete

Move-assignment is prohibited.