TBCI Numerical high perf. C++ Library 2.8.0
cplxinst.cc
Go to the documentation of this file.
1
4/* $Id: cplxinst.cc,v 1.5.2.10 2019/05/28 11:13:02 garloff Exp $ */
5
6#if defined(__GNUC__) && __GNUC__ == 2
7# define MINLINE /* extern inline */
8#endif
9
10#define PRAGMA_IMPL_MALLOC_CACHE
11#include "tbci/basics.h"
12
13#ifdef PRAGMA_I
14# pragma implementation "cplx.h"
15#endif
16#include "tbci/cplx.h"
17
18#ifndef NUM
19#define NUM double
20#endif
21
22#define TEMPLATE template
23
24#define T NUM
25#define U NUM
26#include "cplx_inst.h"
27
28#ifdef MALLOC_CACHE
29#include "tbci/malloc_cache.h"
31
32# define INST_TBCI_MEMALLOC(TYPE) \
33template class tbci_memalloc< TYPE >; \
34template class tbci_memalloc_cache< TYPE >
35//template <> tbci_memalloc< TYPE >& tbci_s_allocator < TYPE > (DUMMY2(TYPE) )
36
37INST_TBCI_MEMALLOC(cplx<double>);
38INST_TBCI_MEMALLOC(cplx<double>*);
39INST_TBCI_MEMALLOC(cplx<float>);
40INST_TBCI_MEMALLOC(cplx<float>*);
41
42# undef INST_TBCI_MEMALLOC
44#endif
45
#define NAMESPACE_END
Definition basics.h:323
#define NAMESPACE_TBCI
Definition basics.h:317
Our own complex class.
Definition cplx.h:56