libzypp 17.31.7
|
Classes | |
struct | CodeLocation |
Keep FILE, FUNCTION and LINE. More... | |
Typedefs | |
template<class TExcpt > | |
using | EnableIfIsException = typename std::enable_if< std::is_base_of< Exception, TExcpt >::value, int >::type |
SFINAE: Hide template signature unless TExcpt is derived from Exception. More... | |
template<class TExcpt > | |
using | EnableIfNotException = typename std::enable_if< !std::is_base_of< Exception, TExcpt >::value, int >::type |
SFINAE: Hide template signature if TExcpt is derived from Exception. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &str, const CodeLocation &obj) |
template<class TExcpt , EnableIfIsException< TExcpt > = 0> | |
void | do_ZYPP_THROW (const TExcpt &excpt_r, const CodeLocation &where_r) __attribute__((noreturn)) |
Helper for ZYPP_THROW( Exception ). More... | |
template<class TExcpt , EnableIfIsException< TExcpt > = 0> | |
void | do_ZYPP_CAUGHT (const TExcpt &excpt_r, const CodeLocation &where_r) |
Helper for ZYPP_THROW( Exception ). More... | |
template<class TExcpt , EnableIfIsException< TExcpt > = 0> | |
void | do_ZYPP_RETHROW (const TExcpt &excpt_r, const CodeLocation &where_r) __attribute__((noreturn)) |
Helper for ZYPP_THROW( Exception ). More... | |
template<class TExcpt , EnableIfIsException< TExcpt > = 0> | |
std::exception_ptr | do_ZYPP_EXCPT_PTR (const TExcpt &excpt_r, const CodeLocation &where_r) |
Helper for ZYPP_EXCPT_PTR( Exception ). More... | |
using zypp::exception_detail::EnableIfIsException = typedef typename std::enable_if< std::is_base_of<Exception,TExcpt>::value, int>::type |
SFINAE: Hide template signature unless TExcpt is derived from Exception.
Definition at line 332 of file Exception.h.
using zypp::exception_detail::EnableIfNotException = typedef typename std::enable_if< !std::is_base_of<Exception,TExcpt>::value, int>::type |
SFINAE: Hide template signature if TExcpt is derived from Exception.
Definition at line 336 of file Exception.h.
|
related |
Definition at line 38 of file Exception.cc.
void zypp::exception_detail::do_ZYPP_THROW | ( | const TExcpt & | excpt_r, |
const CodeLocation & | where_r | ||
) |
Helper for ZYPP_THROW( Exception ).
Helper for ZYPP_THROW( not Exception ).
Definition at line 343 of file Exception.h.
void zypp::exception_detail::do_ZYPP_CAUGHT | ( | const TExcpt & | excpt_r, |
const CodeLocation & | where_r | ||
) |
Helper for ZYPP_THROW( Exception ).
Helper for ZYPP_THROW( not Exception ).
Definition at line 363 of file Exception.h.
void zypp::exception_detail::do_ZYPP_RETHROW | ( | const TExcpt & | excpt_r, |
const CodeLocation & | where_r | ||
) |
Helper for ZYPP_THROW( Exception ).
Helper for ZYPP_THROW( not Exception ).
Definition at line 380 of file Exception.h.
std::exception_ptr zypp::exception_detail::do_ZYPP_EXCPT_PTR | ( | const TExcpt & | excpt_r, |
const CodeLocation & | where_r | ||
) |
Helper for ZYPP_EXCPT_PTR( Exception ).
Helper for ZYPP_EXCPT_PTR( not Exception ).
Definition at line 401 of file Exception.h.