/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/utility/sstream.cpp

  • Committer: edam
  • Date: 2012-02-25 01:31:43 UTC
  • Revision ID: tim@ed.am-20120225013143-9fet2y2d3fjlrwez
added ulibc

Show diffs side-by-side

added added

removed removed

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