summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-05 04:05:45 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-05 04:05:45 +0000
commit5a64d8cf37253f8227d179a52a0c022a927db8b6 (patch)
tree01daea8defdbdbfae1385af0f177ec7506e8ca8d /libstdc++-v3/include/std
parent755edffdacb0e09129b815d8e4dbb060d7fb6552 (diff)
downloadppe42-gcc-5a64d8cf37253f8227d179a52a0c022a927db8b6.tar.gz
ppe42-gcc-5a64d8cf37253f8227d179a52a0c022a927db8b6.zip
2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
Move from CPP to CXX. * include/bits/c++config: Move to GLIBCXX from GLIBCPP. * testsuite/Makefile.am: Same. * testsuite/Makefile.in: Regenerate. * po/Makefile.am: Same. * po/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * libmath/Makefile.am: Same. * libmath/Makefile.in: Regenerate. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * acconfig.h: Same. * configure.host: Same. * configure.in: Same. * configure: Regenerate. * acinclude.m4: Same. * aclocal.m4: Same. * src: Change all files in this directory. * testsuite: Same. * include: Same, standardize include guards. * config: Same. * libsupc++: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68958 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std')
-rw-r--r--libstdc++-v3/include/std/std_algorithm.h6
-rw-r--r--libstdc++-v3/include/std/std_bitset.h64
-rw-r--r--libstdc++-v3/include/std/std_complex.h14
-rw-r--r--libstdc++-v3/include/std/std_deque.h8
-rw-r--r--libstdc++-v3/include/std/std_fstream.h8
-rw-r--r--libstdc++-v3/include/std/std_functional.h6
-rw-r--r--libstdc++-v3/include/std/std_iomanip.h8
-rw-r--r--libstdc++-v3/include/std/std_ios.h6
-rw-r--r--libstdc++-v3/include/std/std_iosfwd.h8
-rw-r--r--libstdc++-v3/include/std/std_iostream.h6
-rw-r--r--libstdc++-v3/include/std/std_istream.h14
-rw-r--r--libstdc++-v3/include/std/std_iterator.h6
-rw-r--r--libstdc++-v3/include/std/std_limits.h8
-rw-r--r--libstdc++-v3/include/std/std_list.h8
-rw-r--r--libstdc++-v3/include/std/std_locale.h4
-rw-r--r--libstdc++-v3/include/std/std_map.h6
-rw-r--r--libstdc++-v3/include/std/std_memory.h6
-rw-r--r--libstdc++-v3/include/std/std_numeric.h6
-rw-r--r--libstdc++-v3/include/std/std_ostream.h12
-rw-r--r--libstdc++-v3/include/std/std_queue.h8
-rw-r--r--libstdc++-v3/include/std/std_set.h6
-rw-r--r--libstdc++-v3/include/std/std_sstream.h16
-rw-r--r--libstdc++-v3/include/std/std_stack.h8
-rw-r--r--libstdc++-v3/include/std/std_stdexcept.h6
-rw-r--r--libstdc++-v3/include/std/std_streambuf.h14
-rw-r--r--libstdc++-v3/include/std/std_string.h8
-rw-r--r--libstdc++-v3/include/std/std_utility.h6
-rw-r--r--libstdc++-v3/include/std/std_valarray.h6
-rw-r--r--libstdc++-v3/include/std/std_vector.h8
29 files changed, 145 insertions, 145 deletions
diff --git a/libstdc++-v3/include/std/std_algorithm.h b/libstdc++-v3/include/std/std_algorithm.h
index bcc0c8a70cd..c7837b4fdb5 100644
--- a/libstdc++-v3/include/std/std_algorithm.h
+++ b/libstdc++-v3/include/std/std_algorithm.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_ALGORITHM
-#define _CPP_ALGORITHM 1
+#ifndef _ALGORITHM
+#define _ALGORITHM 1
#pragma GCC system_header
@@ -68,7 +68,7 @@
#include <bits/stl_uninitialized.h>
#include <bits/stl_algo.h>
-#endif /* _CPP_ALGORITHM */
+#endif /* _ALGORITHM */
// Local Variables:
// mode:C++
diff --git a/libstdc++-v3/include/std/std_bitset.h b/libstdc++-v3/include/std/std_bitset.h
index 558389207c1..f3abc8e3ad8 100644
--- a/libstdc++-v3/include/std/std_bitset.h
+++ b/libstdc++-v3/include/std/std_bitset.h
@@ -45,8 +45,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _GLIBCPP_BITSET_H
-#define _GLIBCPP_BITSET_H
+#ifndef _BITSET
+#define _BITSET 1
#pragma GCC system_header
@@ -60,9 +60,9 @@
#include <istream> // for istream (operator>>)
-#define _GLIBCPP_BITSET_BITS_PER_WORD numeric_limits<unsigned long>::digits
-#define _GLIBCPP_BITSET_WORDS(__n) \
- ((__n) < 1 ? 0 : ((__n) + _GLIBCPP_BITSET_BITS_PER_WORD - 1)/_GLIBCPP_BITSET_BITS_PER_WORD)
+#define _GLIBCXX_BITSET_BITS_PER_WORD numeric_limits<unsigned long>::digits
+#define _GLIBCXX_BITSET_WORDS(__n) \
+ ((__n) < 1 ? 0 : ((__n) + _GLIBCXX_BITSET_BITS_PER_WORD - 1)/_GLIBCXX_BITSET_BITS_PER_WORD)
namespace std
{
@@ -91,15 +91,15 @@ namespace std
static size_t
_S_whichword(size_t __pos )
- { return __pos / _GLIBCPP_BITSET_BITS_PER_WORD; }
+ { return __pos / _GLIBCXX_BITSET_BITS_PER_WORD; }
static size_t
_S_whichbyte(size_t __pos )
- { return (__pos % _GLIBCPP_BITSET_BITS_PER_WORD) / __CHAR_BIT__; }
+ { return (__pos % _GLIBCXX_BITSET_BITS_PER_WORD) / __CHAR_BIT__; }
static size_t
_S_whichbit(size_t __pos )
- { return __pos % _GLIBCPP_BITSET_BITS_PER_WORD; }
+ { return __pos % _GLIBCXX_BITSET_BITS_PER_WORD; }
static _WordT
_S_maskbit(size_t __pos )
@@ -213,15 +213,15 @@ namespace std
{
if (__builtin_expect(__shift != 0, 1))
{
- const size_t __wshift = __shift / _GLIBCPP_BITSET_BITS_PER_WORD;
- const size_t __offset = __shift % _GLIBCPP_BITSET_BITS_PER_WORD;
+ const size_t __wshift = __shift / _GLIBCXX_BITSET_BITS_PER_WORD;
+ const size_t __offset = __shift % _GLIBCXX_BITSET_BITS_PER_WORD;
if (__offset == 0)
for (size_t __n = _Nw - 1; __n >= __wshift; --__n)
_M_w[__n] = _M_w[__n - __wshift];
else
{
- const size_t __sub_offset = _GLIBCPP_BITSET_BITS_PER_WORD - __offset;
+ const size_t __sub_offset = _GLIBCXX_BITSET_BITS_PER_WORD - __offset;
for (size_t __n = _Nw - 1; __n > __wshift; --__n)
_M_w[__n] = (_M_w[__n - __wshift] << __offset) |
(_M_w[__n - __wshift - 1] >> __sub_offset);
@@ -238,8 +238,8 @@ namespace std
{
if (__builtin_expect(__shift != 0, 1))
{
- const size_t __wshift = __shift / _GLIBCPP_BITSET_BITS_PER_WORD;
- const size_t __offset = __shift % _GLIBCPP_BITSET_BITS_PER_WORD;
+ const size_t __wshift = __shift / _GLIBCXX_BITSET_BITS_PER_WORD;
+ const size_t __offset = __shift % _GLIBCXX_BITSET_BITS_PER_WORD;
const size_t __limit = _Nw - __wshift - 1;
if (__offset == 0)
@@ -247,7 +247,7 @@ namespace std
_M_w[__n] = _M_w[__n + __wshift];
else
{
- const size_t __sub_offset = _GLIBCPP_BITSET_BITS_PER_WORD - __offset;
+ const size_t __sub_offset = _GLIBCXX_BITSET_BITS_PER_WORD - __offset;
for (size_t __n = 0; __n < __limit; ++__n)
_M_w[__n] = (_M_w[__n + __wshift] >> __offset) |
(_M_w[__n + __wshift + 1] << __sub_offset);
@@ -276,7 +276,7 @@ namespace std
{
_WordT __thisword = _M_w[__i];
if (__thisword != static_cast<_WordT>(0))
- return __i * _GLIBCPP_BITSET_BITS_PER_WORD
+ return __i * _GLIBCXX_BITSET_BITS_PER_WORD
+ __builtin_ctzl(__thisword);
}
// not found, so return an indication of failure.
@@ -291,7 +291,7 @@ namespace std
++__prev;
// check out of bounds
- if ( __prev >= _Nw * _GLIBCPP_BITSET_BITS_PER_WORD )
+ if ( __prev >= _Nw * _GLIBCXX_BITSET_BITS_PER_WORD )
return __not_found;
// search first word
@@ -302,7 +302,7 @@ namespace std
__thisword >>= __prev + 1;
if (__thisword != static_cast<_WordT>(0))
- return __i * _GLIBCPP_BITSET_BITS_PER_WORD
+ return __i * _GLIBCXX_BITSET_BITS_PER_WORD
+ __builtin_ctzl(__thisword);
// check subsequent words
@@ -311,7 +311,7 @@ namespace std
{
__thisword = _M_w[__i];
if (__thisword != static_cast<_WordT>(0))
- return __i * _GLIBCPP_BITSET_BITS_PER_WORD
+ return __i * _GLIBCXX_BITSET_BITS_PER_WORD
+ __builtin_ctzl(__thisword);
}
// not found, so return an indication of failure.
@@ -337,15 +337,15 @@ namespace std
static size_t
_S_whichword(size_t __pos )
- { return __pos / _GLIBCPP_BITSET_BITS_PER_WORD; }
+ { return __pos / _GLIBCXX_BITSET_BITS_PER_WORD; }
static size_t
_S_whichbyte(size_t __pos )
- { return (__pos % _GLIBCPP_BITSET_BITS_PER_WORD) / __CHAR_BIT__; }
+ { return (__pos % _GLIBCXX_BITSET_BITS_PER_WORD) / __CHAR_BIT__; }
static size_t
_S_whichbit(size_t __pos )
- { return __pos % _GLIBCPP_BITSET_BITS_PER_WORD; }
+ { return __pos % _GLIBCXX_BITSET_BITS_PER_WORD; }
static _WordT
_S_maskbit(size_t __pos )
@@ -414,7 +414,7 @@ namespace std
_M_do_find_next(size_t __prev, size_t __not_found) const
{
++__prev;
- if (__prev >= ((size_t) _GLIBCPP_BITSET_BITS_PER_WORD))
+ if (__prev >= ((size_t) _GLIBCXX_BITSET_BITS_PER_WORD))
return __not_found;
_WordT __x = _M_w >> __prev;
@@ -443,15 +443,15 @@ namespace std
static size_t
_S_whichword(size_t __pos )
- { return __pos / _GLIBCPP_BITSET_BITS_PER_WORD; }
+ { return __pos / _GLIBCXX_BITSET_BITS_PER_WORD; }
static size_t
_S_whichbyte(size_t __pos )
- { return (__pos % _GLIBCPP_BITSET_BITS_PER_WORD) / __CHAR_BIT__; }
+ { return (__pos % _GLIBCXX_BITSET_BITS_PER_WORD) / __CHAR_BIT__; }
static size_t
_S_whichbit(size_t __pos )
- { return __pos % _GLIBCPP_BITSET_BITS_PER_WORD; }
+ { return __pos % _GLIBCXX_BITSET_BITS_PER_WORD; }
static _WordT
_S_maskbit(size_t __pos )
@@ -601,16 +601,16 @@ namespace std
* @endif
*/
template<size_t _Nb>
- class bitset : private _Base_bitset<_GLIBCPP_BITSET_WORDS(_Nb)>
+ class bitset : private _Base_bitset<_GLIBCXX_BITSET_WORDS(_Nb)>
{
private:
- typedef _Base_bitset<_GLIBCPP_BITSET_WORDS(_Nb)> _Base;
+ typedef _Base_bitset<_GLIBCXX_BITSET_WORDS(_Nb)> _Base;
typedef unsigned long _WordT;
void
_M_do_sanitize()
{
- _Sanitize<_Nb%_GLIBCPP_BITSET_BITS_PER_WORD>::
+ _Sanitize<_Nb%_GLIBCXX_BITSET_BITS_PER_WORD>::
_S_do_sanitize(this->_M_hiword());
}
@@ -930,7 +930,7 @@ namespace std
* as required by DR 11 to the standard.
*
* @if maint
- * _GLIBCPP_RESOLVE_LIB_DEFECTS Note that this implementation already
+ * _GLIBCXX_RESOLVE_LIB_DEFECTS Note that this implementation already
* resolves DR 11 (items 1 and 2), but does not do the range-checking
* required by that DR's resolution. -pme
* The DR has since been changed: range-checking is a precondition
@@ -1209,7 +1209,7 @@ namespace std
//@}
} // namespace std
-#undef _GLIBCPP_BITSET_WORDS
-#undef _GLIBCPP_BITSET_BITS_PER_WORD
+#undef _GLIBCXX_BITSET_WORDS
+#undef _GLIBCXX_BITSET_BITS_PER_WORD
-#endif /* _GLIBCPP_BITSET_H */
+#endif /* _BITSET */
diff --git a/libstdc++-v3/include/std/std_complex.h b/libstdc++-v3/include/std/std_complex.h
index e943f5edcee..97d764df96b 100644
--- a/libstdc++-v3/include/std/std_complex.h
+++ b/libstdc++-v3/include/std/std_complex.h
@@ -40,8 +40,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_COMPLEX
-#define _CPP_COMPLEX 1
+#ifndef _COMPLEX
+#define _COMPLEX 1
#pragma GCC system_header
@@ -456,7 +456,7 @@ namespace std
inline _Tp
norm(const complex<_Tp>& __z)
{
- return _Norm_helper<__is_floating<_Tp>::_M_type && !_GLIBCPP_FAST_MATH>::_S_do_it(__z);
+ return _Norm_helper<__is_floating<_Tp>::_M_type && !_GLIBCXX_FAST_MATH>::_S_do_it(__z);
}
template<typename _Tp>
@@ -599,7 +599,7 @@ namespace std
typedef float value_type;
complex(float = 0.0f, float = 0.0f);
-#ifdef _GLIBCPP_BUGGY_COMPLEX
+#ifdef _GLIBCXX_BUGGY_COMPLEX
complex(const complex& __z) : _M_value(__z._M_value) { }
#endif
explicit complex(const complex<double>&);
@@ -746,7 +746,7 @@ namespace std
typedef double value_type;
complex(double =0.0, double =0.0);
-#ifdef _GLIBCPP_BUGGY_COMPLEX
+#ifdef _GLIBCXX_BUGGY_COMPLEX
complex(const complex& __z) : _M_value(__z._M_value) { }
#endif
complex(const complex<float>&);
@@ -892,7 +892,7 @@ namespace std
typedef long double value_type;
complex(long double = 0.0L, long double = 0.0L);
-#ifdef _GLIBCPP_BUGGY_COMPLEX
+#ifdef _GLIBCXX_BUGGY_COMPLEX
complex(const complex& __z) : _M_value(__z._M_value) { }
#endif
complex(const complex<float>&);
@@ -1062,4 +1062,4 @@ namespace std
: _M_value(_ComplexT(__z._M_value)) { }
} // namespace std
-#endif /* _CPP_COMPLEX */
+#endif /* _COMPLEX */
diff --git a/libstdc++-v3/include/std/std_deque.h b/libstdc++-v3/include/std/std_deque.h
index 774d334e8d7..588c7c5576f 100644
--- a/libstdc++-v3/include/std/std_deque.h
+++ b/libstdc++-v3/include/std/std_deque.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_DEQUE
-#define _CPP_DEQUE 1
+#ifndef _DEQUE
+#define _DEQUE 1
#pragma GCC system_header
@@ -70,9 +70,9 @@
#include <bits/stl_uninitialized.h>
#include <bits/stl_deque.h>
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# include <bits/deque.tcc>
#endif
-#endif /* _CPP_DEQUE */
+#endif /* _DEQUE */
diff --git a/libstdc++-v3/include/std/std_fstream.h b/libstdc++-v3/include/std/std_fstream.h
index b97c9443de9..2b2a88deeba 100644
--- a/libstdc++-v3/include/std/std_fstream.h
+++ b/libstdc++-v3/include/std/std_fstream.h
@@ -37,8 +37,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_FSTREAM
-#define _CPP_FSTREAM 1
+#ifndef _FSTREAM
+#define _FSTREAM 1
#pragma GCC system_header
@@ -808,10 +808,10 @@ namespace std
};
} // namespace std
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# define export
#endif
-#ifdef _GLIBCPP_FULLY_COMPLIANT_HEADERS
+#ifdef _GLIBCXX_FULLY_COMPLIANT_HEADERS
# include <bits/fstream.tcc>
#endif
diff --git a/libstdc++-v3/include/std/std_functional.h b/libstdc++-v3/include/std/std_functional.h
index 40080d95579..0d438589922 100644
--- a/libstdc++-v3/include/std/std_functional.h
+++ b/libstdc++-v3/include/std/std_functional.h
@@ -46,15 +46,15 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_FUNCTIONAL
-#define _CPP_FUNCTIONAL 1
+#ifndef _FUNCTIONAL
+#define _FUNCTIONAL 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <cstddef>
#include <bits/stl_function.h>
-#endif /* _CPP_FUNCTIONAL */
+#endif /* _FUNCTIONAL */
// Local Variables:
// mode:C++
diff --git a/libstdc++-v3/include/std/std_iomanip.h b/libstdc++-v3/include/std/std_iomanip.h
index 490d5ac1cfb..3adb0dd2bf2 100644
--- a/libstdc++-v3/include/std/std_iomanip.h
+++ b/libstdc++-v3/include/std/std_iomanip.h
@@ -37,8 +37,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_IOMANIP
-#define _CPP_IOMANIP 1
+#ifndef _IOMANIP
+#define _IOMANIP 1
#pragma GCC system_header
@@ -266,7 +266,7 @@ namespace std
// Inhibit implicit instantiations for required instantiations,
// which are defined via explicit instantiations elsewhere.
// NB: This syntax is a GNU extension.
-#if _GLIBCPP_EXTERN_TEMPLATE
+#if _GLIBCXX_EXTERN_TEMPLATE
extern template ostream& operator<<(ostream&, _Setfill<char>);
extern template ostream& operator<<(ostream&, _Setiosflags);
extern template ostream& operator<<(ostream&, _Resetiosflags);
@@ -280,7 +280,7 @@ namespace std
extern template istream& operator>>(istream&, _Setprecision);
extern template istream& operator>>(istream&, _Setw);
-#ifdef _GLIBCPP_USE_WCHAR_T
+#ifdef _GLIBCXX_USE_WCHAR_T
extern template wostream& operator<<(wostream&, _Setfill<wchar_t>);
extern template wostream& operator<<(wostream&, _Setiosflags);
extern template wostream& operator<<(wostream&, _Resetiosflags);
diff --git a/libstdc++-v3/include/std/std_ios.h b/libstdc++-v3/include/std/std_ios.h
index a7764c89cdd..76d10d759ae 100644
--- a/libstdc++-v3/include/std/std_ios.h
+++ b/libstdc++-v3/include/std/std_ios.h
@@ -36,8 +36,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_IOS
-#define _CPP_IOS 1
+#ifndef _IOS
+#define _IOS 1
#pragma GCC system_header
@@ -50,5 +50,5 @@
#include <streambuf>
#include <bits/basic_ios.h>
-#endif /* _CPP_IOS */
+#endif /* _IOS */
diff --git a/libstdc++-v3/include/std/std_iosfwd.h b/libstdc++-v3/include/std/std_iosfwd.h
index 55b0e0b19fa..a4877ef1677 100644
--- a/libstdc++-v3/include/std/std_iosfwd.h
+++ b/libstdc++-v3/include/std/std_iosfwd.h
@@ -37,8 +37,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_IOSFWD
-#define _CPP_IOSFWD 1
+#ifndef _IOSFWD
+#define _IOSFWD 1
#pragma GCC system_header
@@ -100,7 +100,7 @@ namespace std
template<typename _CharT, typename _Traits = char_traits<_CharT> >
class ostreambuf_iterator;
-#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
+#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
// Not included. (??? Apparently no LWG number?)
class ios_base;
#endif
@@ -147,7 +147,7 @@ namespace std
typedef basic_ofstream<char> ofstream; ///< @isiosfwd
typedef basic_fstream<char> fstream; ///< @isiosfwd
-#ifdef _GLIBCPP_USE_WCHAR_T
+#ifdef _GLIBCXX_USE_WCHAR_T
typedef basic_ios<wchar_t> wios; ///< @isiosfwd
typedef basic_streambuf<wchar_t> wstreambuf; ///< @isiosfwd
typedef basic_istream<wchar_t> wistream; ///< @isiosfwd
diff --git a/libstdc++-v3/include/std/std_iostream.h b/libstdc++-v3/include/std/std_iostream.h
index d70949377df..4b025f7287c 100644
--- a/libstdc++-v3/include/std/std_iostream.h
+++ b/libstdc++-v3/include/std/std_iostream.h
@@ -36,8 +36,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_IOSTREAM
-#define _CPP_IOSTREAM 1
+#ifndef _IOSTREAM
+#define _IOSTREAM 1
#pragma GCC system_header
@@ -65,7 +65,7 @@ namespace std
extern ostream cerr; ///< Linked to standard error (unbuffered)
extern ostream clog; ///< Linked to standard error (buffered)
-#ifdef _GLIBCPP_USE_WCHAR_T
+#ifdef _GLIBCXX_USE_WCHAR_T
extern wistream wcin; ///< Linked to standard input
extern wostream wcout; ///< Linked to standard output
extern wostream wcerr; ///< Linked to standard error (unbuffered)
diff --git a/libstdc++-v3/include/std/std_istream.h b/libstdc++-v3/include/std/std_istream.h
index 1612cb4a932..a8621f6c15f 100644
--- a/libstdc++-v3/include/std/std_istream.h
+++ b/libstdc++-v3/include/std/std_istream.h
@@ -37,8 +37,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_ISTREAM
-#define _CPP_ISTREAM 1
+#ifndef _ISTREAM
+#define _ISTREAM 1
#pragma GCC system_header
@@ -187,7 +187,7 @@ namespace std
__istream_type&
operator>>(unsigned long& __n);
-#ifdef _GLIBCPP_USE_LONG_LONG
+#ifdef _GLIBCXX_USE_LONG_LONG
__istream_type&
operator>>(long long& __n);
@@ -705,7 +705,7 @@ namespace std
public basic_ostream<_CharT, _Traits>
{
public:
-#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
+#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
// 271. basic_iostream missing typedefs
// Types (inherited):
typedef _CharT char_type;
@@ -768,11 +768,11 @@ namespace std
ws(basic_istream<_CharT, _Traits>& __is);
} // namespace std
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# define export
#endif
-#ifdef _GLIBCPP_FULLY_COMPLIANT_HEADERS
+#ifdef _GLIBCXX_FULLY_COMPLIANT_HEADERS
# include <bits/istream.tcc>
#endif
-#endif /* _CPP_ISTREAM */
+#endif /* _ISTREAM */
diff --git a/libstdc++-v3/include/std/std_iterator.h b/libstdc++-v3/include/std/std_iterator.h
index 7b1709409b1..2936cda86ac 100644
--- a/libstdc++-v3/include/std/std_iterator.h
+++ b/libstdc++-v3/include/std/std_iterator.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_ITERATOR
-#define _CPP_ITERATOR 1
+#ifndef _ITERATOR
+#define _ITERATOR 1
#pragma GCC system_header
#include <bits/c++config.h>
@@ -72,7 +72,7 @@
#include <bits/stream_iterator.h>
#include <bits/streambuf_iterator.h>
-#endif /* _CPP_ITERATOR */
+#endif /* _ITERATOR */
// Local Variables:
// mode:C++
diff --git a/libstdc++-v3/include/std/std_limits.h b/libstdc++-v3/include/std/std_limits.h
index eaf3c8663da..dd3bf9de3a6 100644
--- a/libstdc++-v3/include/std/std_limits.h
+++ b/libstdc++-v3/include/std/std_limits.h
@@ -40,8 +40,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_NUMERIC_LIMITS
-#define _CPP_NUMERIC_LIMITS 1
+#ifndef _NUMERIC_LIMITS
+#define _NUMERIC_LIMITS 1
#pragma GCC system_header
@@ -278,7 +278,7 @@ namespace std
* members will all be @c false.
*
* @if maint
- * _GLIBCPP_RESOLVE_LIB_DEFECTS: DRs 201 and 184 (hi Gaby!) are
+ * _GLIBCXX_RESOLVE_LIB_DEFECTS: DRs 201 and 184 (hi Gaby!) are
* noted, but not incorporated in this documented (yet).
* @endif
*/
@@ -1140,4 +1140,4 @@ namespace std
#undef __glibcpp_digits
#undef __glibcpp_digits10
-#endif // _CPP_NUMERIC_LIMITS
+#endif // _NUMERIC_LIMITS
diff --git a/libstdc++-v3/include/std/std_list.h b/libstdc++-v3/include/std/std_list.h
index 61c6dfa88eb..9a8e8a9a162 100644
--- a/libstdc++-v3/include/std/std_list.h
+++ b/libstdc++-v3/include/std/std_list.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_LIST
-#define _CPP_LIST 1
+#ifndef _LIST
+#define _LIST 1
#pragma GCC system_header
@@ -70,9 +70,9 @@
#include <bits/stl_uninitialized.h>
#include <bits/stl_list.h>
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# include <bits/list.tcc>
#endif
-#endif /* _CPP_LIST */
+#endif /* _LIST */
diff --git a/libstdc++-v3/include/std/std_locale.h b/libstdc++-v3/include/std/std_locale.h
index 29602560766..9c3a101159e 100644
--- a/libstdc++-v3/include/std/std_locale.h
+++ b/libstdc++-v3/include/std/std_locale.h
@@ -36,8 +36,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_LOCALE
-#define _CPP_LOCALE 1
+#ifndef _LOCALE
+#define _LOCALE 1
#pragma GCC system_header
diff --git a/libstdc++-v3/include/std/std_map.h b/libstdc++-v3/include/std/std_map.h
index c04cbd542a6..7965394dc51 100644
--- a/libstdc++-v3/include/std/std_map.h
+++ b/libstdc++-v3/include/std/std_map.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_MAP
-#define _CPP_MAP 1
+#ifndef _MAP
+#define _MAP 1
#pragma GCC system_header
@@ -67,7 +67,7 @@
#include <bits/stl_map.h>
#include <bits/stl_multimap.h>
-#endif /* _CPP_MAP */
+#endif /* _MAP */
// Local Variables:
// mode:C++
diff --git a/libstdc++-v3/include/std/std_memory.h b/libstdc++-v3/include/std/std_memory.h
index b508351c8b5..49cf008cf88 100644
--- a/libstdc++-v3/include/std/std_memory.h
+++ b/libstdc++-v3/include/std/std_memory.h
@@ -46,8 +46,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_MEMORY
-#define _CPP_MEMORY 1
+#ifndef _MEMORY
+#define _MEMORY 1
#pragma GCC system_header
@@ -158,7 +158,7 @@ namespace std
* in the libstdc++ testsuite.
*
* @if maint
- * _GLIBCPP_RESOLVE_LIB_DEFECTS
+ * _GLIBCXX_RESOLVE_LIB_DEFECTS
* 127. auto_ptr<> conversion issues
* These resolutions have all been incorporated.
* @endif
diff --git a/libstdc++-v3/include/std/std_numeric.h b/libstdc++-v3/include/std/std_numeric.h
index 936eaa78945..c287f925a16 100644
--- a/libstdc++-v3/include/std/std_numeric.h
+++ b/libstdc++-v3/include/std/std_numeric.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_NUMERIC
-#define _CPP_NUMERIC 1
+#ifndef _NUMERIC
+#define _NUMERIC 1
#pragma GCC system_header
#include <bits/c++config.h>
@@ -68,7 +68,7 @@
#include <bits/stl_function.h>
#include <bits/stl_numeric.h>
-#endif /* _CPP_NUMERIC */
+#endif /* _NUMERIC */
// Local Variables:
// mode:C++
diff --git a/libstdc++-v3/include/std/std_ostream.h b/libstdc++-v3/include/std/std_ostream.h
index 36169ca97f0..b20354dc520 100644
--- a/libstdc++-v3/include/std/std_ostream.h
+++ b/libstdc++-v3/include/std/std_ostream.h
@@ -37,8 +37,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_OSTREAM
-#define _CPP_OSTREAM 1
+#ifndef _OSTREAM
+#define _OSTREAM 1
#pragma GCC system_header
@@ -203,7 +203,7 @@ namespace std
operator<<(unsigned int __n)
{ return this->operator<<(static_cast<unsigned long>(__n)); }
-#ifdef _GLIBCPP_USE_LONG_LONG
+#ifdef _GLIBCXX_USE_LONG_LONG
__ostream_type&
operator<<(long long __n);
@@ -541,11 +541,11 @@ namespace std
} // namespace std
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# define export
#endif
-#ifdef _GLIBCPP_FULLY_COMPLIANT_HEADERS
+#ifdef _GLIBCXX_FULLY_COMPLIANT_HEADERS
# include <bits/ostream.tcc>
#endif
-#endif /* _CPP_OSTREAM */
+#endif /* _OSTREAM */
diff --git a/libstdc++-v3/include/std/std_queue.h b/libstdc++-v3/include/std/std_queue.h
index 33eb9449727..cd6e5ec6dfe 100644
--- a/libstdc++-v3/include/std/std_queue.h
+++ b/libstdc++-v3/include/std/std_queue.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_QUEUE
-#define _CPP_QUEUE 1
+#ifndef _QUEUE
+#define _QUEUE 1
#pragma GCC system_header
#include <bits/c++config.h>
@@ -74,9 +74,9 @@
#include <bits/stl_function.h>
#include <bits/stl_queue.h>
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# include <bits/deque.tcc>
# include <bits/vector.tcc>
#endif
-#endif /* _CPP_QUEUE */
+#endif /* _QUEUE */
diff --git a/libstdc++-v3/include/std/std_set.h b/libstdc++-v3/include/std/std_set.h
index 249f396f1af..d59af35b8c5 100644
--- a/libstdc++-v3/include/std/std_set.h
+++ b/libstdc++-v3/include/std/std_set.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_SET
-#define _CPP_SET 1
+#ifndef _SET
+#define _SET 1
#pragma GCC system_header
@@ -67,7 +67,7 @@
#include <bits/stl_set.h>
#include <bits/stl_multiset.h>
-#endif /* _CPP_SET */
+#endif /* _SET */
// Local Variables:
// mode:C++
diff --git a/libstdc++-v3/include/std/std_sstream.h b/libstdc++-v3/include/std/std_sstream.h
index 4d6d2604619..dcdb7a713bf 100644
--- a/libstdc++-v3/include/std/std_sstream.h
+++ b/libstdc++-v3/include/std/std_sstream.h
@@ -36,8 +36,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_SSTREAM
-#define _CPP_SSTREAM 1
+#ifndef _SSTREAM
+#define _SSTREAM 1
#pragma GCC system_header
@@ -65,7 +65,7 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
+#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
// 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
#endif
@@ -304,7 +304,7 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
+#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
// 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
#endif
@@ -423,7 +423,7 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
+#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
// 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
#endif
@@ -542,7 +542,7 @@ namespace std
// Types:
typedef _CharT char_type;
typedef _Traits traits_type;
-#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
+#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
// 251. basic_stringbuf missing allocator_type
typedef _Alloc allocator_type;
#endif
@@ -641,10 +641,10 @@ namespace std
};
} // namespace std
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# define export
#endif
-#ifdef _GLIBCPP_FULLY_COMPLIANT_HEADERS
+#ifdef _GLIBCXX_FULLY_COMPLIANT_HEADERS
# include <bits/sstream.tcc>
#endif
diff --git a/libstdc++-v3/include/std/std_stack.h b/libstdc++-v3/include/std/std_stack.h
index fb111d4d4df..1da582ee957 100644
--- a/libstdc++-v3/include/std/std_stack.h
+++ b/libstdc++-v3/include/std/std_stack.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_STACK
-#define _CPP_STACK 1
+#ifndef _STACK
+#define _STACK 1
#pragma GCC system_header
@@ -70,8 +70,8 @@
#include <bits/stl_deque.h>
#include <bits/stl_stack.h>
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# include <bits/deque.tcc>
#endif
-#endif /* _CPP_STACK */
+#endif /* _STACK */
diff --git a/libstdc++-v3/include/std/std_stdexcept.h b/libstdc++-v3/include/std/std_stdexcept.h
index 07a15e466ce..38ff1ad219d 100644
--- a/libstdc++-v3/include/std/std_stdexcept.h
+++ b/libstdc++-v3/include/std/std_stdexcept.h
@@ -36,8 +36,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_STDEXCEPT
-#define _CPP_STDEXCEPT 1
+#ifndef _STDEXCEPT
+#define _STDEXCEPT 1
#pragma GCC system_header
@@ -145,4 +145,4 @@ namespace std
};
} // namespace std
-#endif // _CPP_STDEXCEPT
+#endif // _STDEXCEPT
diff --git a/libstdc++-v3/include/std/std_streambuf.h b/libstdc++-v3/include/std/std_streambuf.h
index 0943739a1c8..1946d50cd12 100644
--- a/libstdc++-v3/include/std/std_streambuf.h
+++ b/libstdc++-v3/include/std/std_streambuf.h
@@ -37,8 +37,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_STREAMBUF
-#define _CPP_STREAMBUF 1
+#ifndef _STREAMBUF
+#define _STREAMBUF 1
#pragma GCC system_header
@@ -741,7 +741,7 @@ namespace std
overflow(int_type /* __c */ = traits_type::eof())
{ return traits_type::eof(); }
-#ifdef _GLIBCPP_DEPRECATED
+#ifdef _GLIBCXX_DEPRECATED
// Annex D.6
public:
/**
@@ -753,7 +753,7 @@ namespace std
* See http://gcc.gnu.org/ml/libstdc++/2002-05/msg00168.html
*
* @note This function has been deprecated by the standard. You
- * must define @c _GLIBCPP_DEPRECATED to make this visible; see
+ * must define @c _GLIBCXX_DEPRECATED to make this visible; see
* c++config.h.
*/
void
@@ -766,7 +766,7 @@ namespace std
}
#endif
-#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
+#ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS
// Side effect of DR 50.
private:
basic_streambuf(const __streambuf_type&) { };
@@ -777,10 +777,10 @@ namespace std
};
} // namespace std
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# define export
#endif
-#ifdef _GLIBCPP_FULLY_COMPLIANT_HEADERS
+#ifdef _GLIBCXX_FULLY_COMPLIANT_HEADERS
#include <bits/streambuf.tcc>
#endif
diff --git a/libstdc++-v3/include/std/std_string.h b/libstdc++-v3/include/std/std_string.h
index 6b82f8ecb0c..f365a32dc93 100644
--- a/libstdc++-v3/include/std/std_string.h
+++ b/libstdc++-v3/include/std/std_string.h
@@ -37,8 +37,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_STRING
-#define _CPP_STRING 1
+#ifndef _STRING
+#define _STRING 1
#pragma GCC system_header
@@ -52,10 +52,10 @@
#include <bits/stl_function.h> // For less
#include <bits/basic_string.h>
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# include <algorithm> // for find_if
# include <bits/basic_string.tcc>
#endif
-#endif /* _CPP_STRING */
+#endif /* _STRING */
diff --git a/libstdc++-v3/include/std/std_utility.h b/libstdc++-v3/include/std/std_utility.h
index b9c6c09ff64..a0d7bbe8d57 100644
--- a/libstdc++-v3/include/std/std_utility.h
+++ b/libstdc++-v3/include/std/std_utility.h
@@ -58,15 +58,15 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_UTILITY
-#define _CPP_UTILITY 1
+#ifndef _UTILITY
+#define _UTILITY 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <bits/stl_relops.h>
#include <bits/stl_pair.h>
-#endif /* _CPP_UTILITY */
+#endif /* _UTILITY */
// Local Variables:
// mode:C++
diff --git a/libstdc++-v3/include/std/std_valarray.h b/libstdc++-v3/include/std/std_valarray.h
index 31b84399c72..d5bdd557483 100644
--- a/libstdc++-v3/include/std/std_valarray.h
+++ b/libstdc++-v3/include/std/std_valarray.h
@@ -35,8 +35,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_VALARRAY
-#define _CPP_VALARRAY 1
+#ifndef _VALARRAY
+#define _VALARRAY 1
#pragma GCC system_header
@@ -689,7 +689,7 @@ _DEFINE_BINARY_OPERATOR(>=, __greater_equal)
} // namespace std
-#endif // _CPP_VALARRAY
+#endif // _VALARRAY
// Local Variables:
// mode:c++
diff --git a/libstdc++-v3/include/std/std_vector.h b/libstdc++-v3/include/std/std_vector.h
index 5f700495b4c..336f7bf2ddb 100644
--- a/libstdc++-v3/include/std/std_vector.h
+++ b/libstdc++-v3/include/std/std_vector.h
@@ -58,8 +58,8 @@
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
-#ifndef _CPP_VECTOR
-#define _CPP_VECTOR 1
+#ifndef _VECTOR
+#define _VECTOR 1
#pragma GCC system_header
@@ -71,9 +71,9 @@
#include <bits/stl_vector.h>
#include <bits/stl_bvector.h>
-#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
+#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
# include <bits/vector.tcc>
#endif
-#endif /* _CPP_VECTOR */
+#endif /* _VECTOR */
OpenPOWER on IntegriCloud