/* * Copyright (c) 2017 Jaroslav Jindrak * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ namespace std { /** * 27.3, forward declarations: */ template class char_traits; template<> class char_traits; template<> class char_traits; template<> class char_traits; template<> class char_traits; template class allocator; template> class basic_ios; template> class basic_streambuf; template> class basic_istream; template> class basic_ostream; template> class basic_iostream; template, class Allocator = allocator> class basic_stringbuf; template, class Allocator = allocator> class basic_istringstream; template, class Allocator = allocator> class basic_ostringstream; template, class Allocator = allocator> class basic_stringstream; template> class basic_filebuf; template> class basic_ifstream; template> class basic_ofstream; template> class basic_fstream; template> class istreambuf_iterator; template> class ostreambuf_iterator; using ios = basic_ios; using wios = basic_ios; using streambuf = basic_streambuf; using istream = basic_istream; using ostream = basic_ostream; using iostream = basic_iostream; using stringbuf = basic_stringbuf; using istringstream = basic_istringstream; using ostringstream = basic_ostringstream; using stringstream = basic_stringstream; using filebuf = basic_filebuf; using ifstream = basic_ifstream; using ofstream = basic_ofstream; using fstream = basic_fstream; using wstreambuf = basic_streambuf; using wistream = basic_istream; using wostream = basic_ostream; using wiostream = basic_iostream; using wstringbuf = basic_stringbuf; using wistringstream = basic_istringstream; using wostringstream = basic_ostringstream; using wstringstream = basic_stringstream; using wfilebuf = basic_filebuf; using wifstream = basic_ifstream; using wofstream = basic_ofstream; using wfstream = basic_fstream; template class fpos; // TODO: standard p. 1012, this is circular, it offers fix /* using streampos = fpos::state_type>; */ /* using wstreampos = fpos::state_type>; */ // Temporary workaround. using streampos = unsigned long long; using wstreampos = unsigned long long; // TODO: This should be in ios and not here? using streamoff = long long; }