File: vcl_algorithm.txx

package info (click to toggle)
insighttoolkit 3.6.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 94,956 kB
  • ctags: 74,981
  • sloc: cpp: 355,621; ansic: 195,070; fortran: 28,713; python: 3,802; tcl: 1,996; sh: 1,175; java: 583; makefile: 415; csh: 184; perl: 175
file content (33 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef vcl_egcs_algorithm_txx_
#define vcl_egcs_algorithm_txx_

#include <vcl_algorithm.h>

#define VCL_COPY_INSTANTIATE(Inp, Out) \
template Out std::copy(Inp, Inp, Out)

#define VCL_COPY_BACKWARD_INSTANTIATE(I, O)

#define VCL_SWAP_INSTANTIATE(T) \
VCL_INSTANTIATE_INLINE(void swap(T&, T&))

#define VCL_OPERATOR_NE_INSTANTIATE(T)

#define VCL_CONTAINABLE_INSTANTIATE(T)

#define VCL_LESS_INSTANTIATE(T) \
template struct less<T >

#define VCL_FIND_INSTANTIATE(I, T) \
template I std::find(I, I, T const&)

#define VCL_SORT_INSTANTIATE(I, T) \
template void __final_insertion_sort(I, I); \
template void __introsort_loop(I, I, I, int)
#define VCL_SORT_INSTANTIATE_CMP(I, T, C) \
/* fix it if you need it */

#define VCL_FIND_IF_INSTANTIATE(I, P) \
template I find_if(I, I, P)

#endif // vcl_egcs_algorithm_txx_