TBCI Numerical high perf. C++ Library
2.8.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
home
abuild
rpmbuild
BUILD
numerix-2.0
lina
source
memalloc.cc
Go to the documentation of this file.
1
5
/* $Id: memalloc.cc,v 1.1.2.10 2019/05/28 11:13:02 garloff Exp $ */
6
7
#if defined(__GNUC__) && __GNUC__ == 2
8
# define MINLINE
/* extern inline */
9
#endif
10
11
#define PRAGMA_IMPL_MALLOC_CACHE
12
#include "tbci/basics.h"
13
//#include "tbci/malloc_cache.h"
14
15
/* Instantiate specializations */
16
#define TBCI_INSTANTIATE
17
18
#ifdef MALLOC_CACHE
19
20
NAMESPACE_TBCI
21
22
# define INST_TBCI_MEMALLOC(TYPE) \
23
template class tbci_memalloc< TYPE >; \
24
template class tbci_memalloc_cache< TYPE >
25
//template <> tbci_memalloc< TYPE >& tbci_s_allocator (DUMMY2(TYPE) )
26
27
INST_TBCI_MEMALLOC(
double
);
28
INST_TBCI_MEMALLOC(
double
*);
29
INST_TBCI_MEMALLOC(
float
);
30
INST_TBCI_MEMALLOC(
float
*);
31
INST_TBCI_MEMALLOC(
unsigned
int
);
32
INST_TBCI_MEMALLOC(
unsigned
int
*);
33
INST_TBCI_MEMALLOC(
int
);
34
INST_TBCI_MEMALLOC(
int
*);
35
INST_TBCI_MEMALLOC(
unsigned
short
);
36
INST_TBCI_MEMALLOC(
char
);
37
INST_TBCI_MEMALLOC(
char
*);
38
INST_TBCI_MEMALLOC(
long
);
39
INST_TBCI_MEMALLOC(
long
*);
40
INST_TBCI_MEMALLOC(
unsigned
long
);
41
INST_TBCI_MEMALLOC(
unsigned
long
*);
42
INST_TBCI_MEMALLOC(
void
*);
43
44
//template class tbci_memalloc<NUM>;
45
//template class tbci_memalloc<NUM*>;
46
//template class tbci_memalloc_cache<NUM>;
47
//template class tbci_memalloc_cache<NUM*>;
48
49
# undef INST_TBCI_MEMALLOC
50
NAMESPACE_END
51
52
#endif
NAMESPACE_TBCI
#define NAMESPACE_TBCI
Definition:
basics.h:317
NAMESPACE_END
#define NAMESPACE_END
Definition:
basics.h:323
Generated by
1.8.5