Chameleon

Chameleon Svn Source Tree

Root/branches/chucko/i386/modules/uClibcxx/vector.cpp

1/*Copyright (C) 2004 Garrett A. Kajmowicz
2
3This file is part of the uClibc++ Library.
4
5This library is free software; you can redistribute it and/or
6modify it under the terms of the GNU Lesser General Public
7License as published by the Free Software Foundation; either
8version 2.1 of the License, or (at your option) any later version.
9
10This library is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13Lesser General Public License for more details.
14
15You should have received a copy of the GNU Lesser General Public
16License along with this library; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19
20#define __UCLIBCXX_COMPILE_VECTOR__ 1
21
22
23#include <vector>
24
25namespace std{
26
27
28#ifdef __UCLIBCXX_EXPAND_VECTOR_BASIC__
29
30#ifdef __UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
31
32template _UCXXEXPORT vector<char, allocator<char> >::vector(const allocator<char>& al);
33template _UCXXEXPORT vector<char, allocator<char> >::vector(size_type n, const char & value, const allocator<char> & al);
34
35template _UCXXEXPORT vector<char, allocator<char> >::~vector();
36template _UCXXEXPORT vector<unsigned char, allocator<unsigned char> >::~vector();
37
38#endif //__UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
39
40template _UCXXEXPORT void vector<char, allocator<char> >::reserve(size_type n);
41template _UCXXEXPORT void vector<unsigned char, allocator<unsigned char> >::reserve(size_type n);
42template _UCXXEXPORT void vector<short int, allocator<short int> >::reserve(size_type n);
43template _UCXXEXPORT void vector<unsigned short int, allocator<unsigned short int> >::reserve(size_type n);
44template _UCXXEXPORT void vector<int, allocator<int> >::reserve(size_type n);
45template _UCXXEXPORT void vector<unsigned int, allocator<unsigned int> >::reserve(size_type n);
46template _UCXXEXPORT void vector<long int, allocator<long int> >::reserve(size_type n);
47template _UCXXEXPORT void vector<unsigned long int, allocator<unsigned long int> >::reserve(size_type n);
48template _UCXXEXPORT void vector<float, allocator<float> >::reserve(size_type n);
49template _UCXXEXPORT void vector<double, allocator<double> >::reserve(size_type n);
50template _UCXXEXPORT void vector<bool, allocator<bool> >::reserve(size_type n);
51
52template _UCXXEXPORT void vector<char, allocator<char> >::resize(size_type sz, const char & c);
53template _UCXXEXPORT void vector<unsigned char, allocator<unsigned char> >::resize(size_type sz, const unsigned char & c);
54template _UCXXEXPORT void vector<short int, allocator<short int> >::resize(size_type sz, const short & c);
55template _UCXXEXPORT void vector<unsigned short int, allocator<unsigned short int> >
56::resize(size_type sz, const unsigned short int & c);
57template _UCXXEXPORT void vector<int, allocator<int> >::resize(size_type sz, const int & c);
58template _UCXXEXPORT void vector<unsigned int, allocator<unsigned int> >::resize(size_type sz, const unsigned int & c);
59template _UCXXEXPORT void vector<long int, allocator<long int> >::resize(size_type sz, const long int & c);
60template _UCXXEXPORT void vector<unsigned long int, allocator<unsigned long int> >::
61resize(size_type sz, const unsigned long int & c);
62template _UCXXEXPORT void vector<float, allocator<float> >::resize(size_type sz, const float & c);
63template _UCXXEXPORT void vector<double, allocator<double> >::resize(size_type sz, const double & c);
64template _UCXXEXPORT void vector<bool, allocator<bool> >::resize(size_type sz, const bool & c);
65
66#elif defined __UCLIBCXX_EXPAND_STRING_CHAR__
67
68
69#ifdef __UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
70template _UCXXEXPORT vector<char, allocator<char> >::vector(const allocator<char>& al);
71template _UCXXEXPORT vector<char, allocator<char> >::vector(size_type n, const char & value, const allocator<char> & al);
72template _UCXXEXPORT vector<char, allocator<char> >::~vector();
73#endif // __UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
74
75template _UCXXEXPORT void vector<char, allocator<char> >::reserve(size_type n);
76template _UCXXEXPORT void vector<char, allocator<char> >::resize(size_type sz, const char & c);
77
78#endif
79
80
81
82
83}
84

Archive Download this file

Revision: HEAD