/elec/propeller-clock

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