41 #ifndef PB_DS_EXCEPTION_HPP
42 #define PB_DS_EXCEPTION_HPP
50 struct container_error :
public std::logic_error
53 :
std::logic_error(__N(
"__gnu_pbds::container_error")) { }
59 struct insert_error :
public container_error { };
63 struct join_error :
public container_error { };
66 struct resize_error :
public container_error { };
70 __throw_container_error(
void)
71 {
throw container_error(); }
74 __throw_insert_error(
void)
75 {
throw insert_error(); }
78 __throw_join_error(
void)
79 {
throw join_error(); }
82 __throw_resize_error(
void)
83 {
throw resize_error(); }
86 __throw_container_error(
void)
90 __throw_insert_error(
void)
94 __throw_join_error(
void)
98 __throw_resize_error(
void)
ISO C++ entities toplevel namespace is std.
GNU extensions for policy-based data structures for public use.