File: vcl_vector.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 (25 lines) | stat: -rw-r--r-- 1,298 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
#ifndef vcl_gcc295_vector_txx_
#define vcl_gcc295_vector_txx_

#include <vcl_vector.h>
#include <vcl_iterator.h>

#define VCL_VECTOR_STLINST_uninitialized_copy(Inp, Fwd, Size) \
template Fwd __uninitialized_copy_aux(Inp, Inp, Fwd, __false_type);\
template pair<Inp, Fwd> __uninitialized_copy_n(Inp, Size, Fwd, vcl_input_iterator_tag);\
VCL_INSTANTIATE_INLINE(Fwd uninitialized_copy(Inp, Inp, Fwd))

// --- Vector ---
#undef VCL_VECTOR_INSTANTIATE
#define VCL_VECTOR_INSTANTIATE(T) \
template vector<T >::iterator __uninitialized_fill_n_aux(vector<T >::iterator, vector<T >::size_type, T const &, __false_type); \
template void fill(vector<T >::iterator, vector<T >::iterator, T const &); \
template vector<T >::iterator fill_n(vector<T >::iterator, vector<T >::size_type, T const &);\
VCL_VECTOR_STLINST_uninitialized_copy(vector<T >::iterator, vector<T >::iterator, vector<T >::size_type);\
VCL_VECTOR_STLINST_uninitialized_copy(vector<T >::const_iterator, vector<T >::iterator, vector<T >::size_type);\
/*VCL_FIND_INSTANTIATE(vector<T >::iterator, T);*/\
/* the next one is for the inline "void insert(pos, first, last);" method. */ \
template void vector<T, allocator<T > >::_M_range_insert(T *, T *, T *, vcl_forward_iterator_tag); \
template class vector<T >

#endif // vcl_gcc295_vector_txx_