sbuild::error< T >::add_reason_helper< A, true > Struct Template Reference

Helper class to add reason to reason string. More...

#include <sbuild-error.h>

List of all members.

Public Member Functions

 add_reason_helper (std::string &reason, A const &value)
 The constructor.


Detailed Description

template<typename T>
template<typename A>
struct sbuild::error< T >::add_reason_helper< A, true >

Helper class to add reason to reason string.

Used for exception types.


Constructor & Destructor Documentation

template<typename T>
template<typename A>
sbuild::error< T >::add_reason_helper< A, true >::add_reason_helper ( std::string &  reason,
A const &  value 
) [inline]

The constructor.

Parameters:
reason the reason to add to.
value the exception to add.

References sbuild::error_base::why().


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

Generated on Tue Jan 18 21:49:03 2011 for sbuild by  doxygen 1.5.6