acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
no_memory.h
1#pragma once
2
3
4//#include "exception.h"
5
6
7class CLASS_DECL_ACME no_memory :
8 public ::exception
9{
10public:
11
12
13 no_memory(const ::scoped_string & scopedstrMessage = nullptr, const ::scoped_string & scopedstrDetails = nullptr);
14 ~no_memory() override;
15
16
17};
18
19
20#if defined(SOLARIS)
21
22
23namespace std
24{
25
26
27 class CLASS_DECL_ACME bad_alloc :
28 virtual public memory_exception
29 {
30 public:
31
32
33 bad_alloc() :
34 matter(this),
35 ::callstack(this),
36 ::exception(),
37 ::exception(),
38 memory_exception()
39 {
40
41 }
42
43 virtual ~bad_alloc() {}
44
45
46 };
47
48
49}
50
51#endif
52
53
54
Definition matter.h:17