Chameleon

Chameleon Svn Source Tree

Root/branches/ErmaC/Modules/i386/modules/uClibcxx/sstream.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_SSTREAM__ 1
21
22#include <sstream>
23
24namespace std{
25
26#ifdef __UCLIBCXX_EXPAND_SSTREAM_CHAR__
27
28typedef char_traits<char> tr_ch;
29typedef basic_stringbuf<char, tr_ch, allocator<char> > char_stringbuf;
30
31#ifdef __UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
32
33template _UCXXEXPORT char_stringbuf::basic_stringbuf(ios_base::openmode which);
34template _UCXXEXPORT char_stringbuf::~basic_stringbuf();
35
36#endif //__UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
37
38template _UCXXEXPORT basic_string<char, char_traits<char>, allocator<char> > char_stringbuf::str() const;
39template _UCXXEXPORT char_stringbuf::int_type char_stringbuf::pbackfail(char_stringbuf::int_type c);
40template _UCXXEXPORT char_stringbuf::int_type char_stringbuf::overflow(char_stringbuf::int_type c);
41template _UCXXEXPORT char_stringbuf::pos_type
42char_stringbuf::seekoff(char_stringbuf::off_type, ios_base::seekdir, ios_base::openmode);
43template _UCXXEXPORT char_stringbuf::int_type char_stringbuf::underflow ();
44template _UCXXEXPORT streamsize char_stringbuf::xsputn(const char* s, streamsize n);
45
46#ifdef __UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
47
48template _UCXXEXPORT basic_stringstream<char, tr_ch, allocator<char> >::basic_stringstream(ios_base::openmode which);
49template _UCXXEXPORT basic_istringstream<char, tr_ch, allocator<char> >::~basic_istringstream();
50template _UCXXEXPORT basic_ostringstream<char, tr_ch, allocator<char> >::~basic_ostringstream();
51template _UCXXEXPORT basic_stringstream<char, tr_ch, allocator<char> >::~basic_stringstream();
52
53#endif //__UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS__
54
55#endif
56
57}
58
59
60

Archive Download this file

Revision: 1621