xref: /openbsd-src/gnu/lib/libstdc++/libstdc++/include/backward/tempbuf.h (revision 03a78d155d6fff5698289342b62759a75b20d130)
1*03a78d15Sespie // Backward-compat support -*- C++ -*-
2*03a78d15Sespie 
3*03a78d15Sespie // Copyright (C) 2001 Free Software Foundation, Inc.
4*03a78d15Sespie //
5*03a78d15Sespie // This file is part of the GNU ISO C++ Library.  This library is free
6*03a78d15Sespie // software; you can redistribute it and/or modify it under the
7*03a78d15Sespie // terms of the GNU General Public License as published by the
8*03a78d15Sespie // Free Software Foundation; either version 2, or (at your option)
9*03a78d15Sespie // any later version.
10*03a78d15Sespie 
11*03a78d15Sespie // This library is distributed in the hope that it will be useful,
12*03a78d15Sespie // but WITHOUT ANY WARRANTY; without even the implied warranty of
13*03a78d15Sespie // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*03a78d15Sespie // GNU General Public License for more details.
15*03a78d15Sespie 
16*03a78d15Sespie // You should have received a copy of the GNU General Public License along
17*03a78d15Sespie // with this library; see the file COPYING.  If not, write to the Free
18*03a78d15Sespie // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19*03a78d15Sespie // USA.
20*03a78d15Sespie 
21*03a78d15Sespie // As a special exception, you may use this file as part of a free software
22*03a78d15Sespie // library without restriction.  Specifically, if other files instantiate
23*03a78d15Sespie // templates or use macros or inline functions from this file, or you compile
24*03a78d15Sespie // this file and link it with other files to produce an executable, this
25*03a78d15Sespie // file does not by itself cause the resulting executable to be covered by
26*03a78d15Sespie // the GNU General Public License.  This exception does not however
27*03a78d15Sespie // invalidate any other reasons why the executable file might be covered by
28*03a78d15Sespie // the GNU General Public License.
29*03a78d15Sespie 
30*03a78d15Sespie /*
31*03a78d15Sespie  *
32*03a78d15Sespie  * Copyright (c) 1994
33*03a78d15Sespie  * Hewlett-Packard Company
34*03a78d15Sespie  *
35*03a78d15Sespie  * Permission to use, copy, modify, distribute and sell this software
36*03a78d15Sespie  * and its documentation for any purpose is hereby granted without fee,
37*03a78d15Sespie  * provided that the above copyright notice appear in all copies and
38*03a78d15Sespie  * that both that copyright notice and this permission notice appear
39*03a78d15Sespie  * in supporting documentation.  Hewlett-Packard Company makes no
40*03a78d15Sespie  * representations about the suitability of this software for any
41*03a78d15Sespie  * purpose.  It is provided "as is" without express or implied warranty.
42*03a78d15Sespie  *
43*03a78d15Sespie  *
44*03a78d15Sespie  * Copyright (c) 1996
45*03a78d15Sespie  * Silicon Graphics Computer Systems, Inc.
46*03a78d15Sespie  *
47*03a78d15Sespie  * Permission to use, copy, modify, distribute and sell this software
48*03a78d15Sespie  * and its documentation for any purpose is hereby granted without fee,
49*03a78d15Sespie  * provided that the above copyright notice appear in all copies and
50*03a78d15Sespie  * that both that copyright notice and this permission notice appear
51*03a78d15Sespie  * in supporting documentation.  Silicon Graphics makes no
52*03a78d15Sespie  * representations about the suitability of this software for any
53*03a78d15Sespie  * purpose.  It is provided "as is" without express or implied warranty.
54*03a78d15Sespie  */
55*03a78d15Sespie 
56*03a78d15Sespie #ifndef _CPP_BACKWARD_TEMPBUF_H
57*03a78d15Sespie #define _CPP_BACKWARD_TEMPBUF_H 1
58*03a78d15Sespie 
59*03a78d15Sespie #include "backward_warning.h"
60*03a78d15Sespie #include "pair.h"
61*03a78d15Sespie #include "iterator.h"
62*03a78d15Sespie #include <limits.h>
63*03a78d15Sespie #include <stddef.h>
64*03a78d15Sespie #include <stdlib.h>
65*03a78d15Sespie #include <bits/type_traits.h>
66*03a78d15Sespie #include <bits/stl_construct.h>
67*03a78d15Sespie #include <bits/stl_uninitialized.h>
68*03a78d15Sespie #include <ext/memory>
69*03a78d15Sespie 
70*03a78d15Sespie using std::get_temporary_buffer;
71*03a78d15Sespie using std::return_temporary_buffer;
72*03a78d15Sespie using __gnu_cxx::temporary_buffer;
73*03a78d15Sespie 
74*03a78d15Sespie #endif /* _CPP_BACKWARD_TEMPBUF_H */
75*03a78d15Sespie 
76*03a78d15Sespie // Local Variables:
77*03a78d15Sespie // mode:C++
78*03a78d15Sespie // End:
79