Silicium
Classes | Namespaces | Functions
error_code.hpp File Reference
#include <silicium/config.hpp>
#include <boost/system/error_code.hpp>
#include <boost/throw_exception.hpp>
#include <boost/static_assert.hpp>

Go to the source code of this file.

Classes

struct  Si::error_code< UnderlyingErrorCode, UnderlyingCategory >
 
struct  std::hash< Si::error_code< UnderlyingErrorCode, UnderlyingCategory > >
 

Namespaces

 Si
 
 std
 

Functions

 Si::BOOST_STATIC_ASSERT (sizeof(error_code<>)==sizeof(void *))
 
template<class UnderlyingErrorCode , class UnderlyingCategory >
bool Si::operator== (error_code< UnderlyingErrorCode, UnderlyingCategory > const &left, error_code< UnderlyingErrorCode, UnderlyingCategory > const &right)
 
template<class UnderlyingErrorCode , class UnderlyingCategory >
SILICIUM_NORETURN void Si::throw_error (error_code< UnderlyingErrorCode, UnderlyingCategory > error)
 
template<class UnderlyingErrorCode , class UnderlyingCategory >
std::size_t Si::hash_value (error_code< UnderlyingErrorCode, UnderlyingCategory > const &value)
 
template<class UnderlyingErrorCode , class UnderlyingCategory >
std::ostream & Si::operator<< (std::ostream &out, error_code< UnderlyingErrorCode, UnderlyingCategory > const &value)