diff options
Diffstat (limited to 'libstdc++-v3/src')
| -rw-r--r-- | libstdc++-v3/src/concept-inst.cc | 51 | ||||
| -rw-r--r-- | libstdc++-v3/src/stl-inst.cc | 10 |
2 files changed, 3 insertions, 58 deletions
diff --git a/libstdc++-v3/src/concept-inst.cc b/libstdc++-v3/src/concept-inst.cc index a467a810c81..01cc030da8d 100644 --- a/libstdc++-v3/src/concept-inst.cc +++ b/libstdc++-v3/src/concept-inst.cc @@ -1,6 +1,6 @@ // Concept checking instantiations -*- C++ -*- -// Copyright (C) 2001 Free Software Foundation +// Copyright (C) 2001, 2002 Free Software Foundation // // This file is part of GNU CC. // @@ -40,7 +40,6 @@ #ifdef _GLIBCPP_CONCEPT_CHECKS #include <memory> -#include <vector> #include <ostream> #define _Instantiate(...) template void __function_requires< __VA_ARGS__ > () @@ -49,36 +48,12 @@ namespace __gnu_cxx { template void __aux_require_boolean_expr<bool>(bool const&); - _Instantiate(_BidirectionalIteratorConcept< - __normal_iterator< std::locale::facet**, - std::vector<std::locale::facet*,std::allocator<std::locale::facet*> > > > ); - - _Instantiate(_BidirectionalIteratorConcept< - __normal_iterator< unsigned*, - std::vector<unsigned, std::allocator<unsigned> > > > ); - - _Instantiate(_ConvertibleConcept<std::locale::facet*, std::locale::facet*> ); - _Instantiate(_ConvertibleConcept<unsigned, unsigned> ); _Instantiate(_InputIteratorConcept<char*> ); _Instantiate(_InputIteratorConcept<char const*> ); - _Instantiate(_InputIteratorConcept<std::locale::facet**> ); - - _Instantiate(_InputIteratorConcept< - __normal_iterator< std::locale::facet* const*, - std::vector<std::locale::facet*,std::allocator<std::locale::facet*> > > > ); - - _Instantiate(_InputIteratorConcept< - __normal_iterator< std::locale::facet**, - std::vector<std::locale::facet*,std::allocator<std::locale::facet*> > > > ); - - _Instantiate(_InputIteratorConcept< - __normal_iterator< unsigned*, - std::vector<unsigned, std::allocator<unsigned> > > > ); - #ifdef _GLIBCPP_USE_WCHAR_T _Instantiate(_InputIteratorConcept<wchar_t*> ); @@ -97,29 +72,6 @@ namespace __gnu_cxx _Instantiate(_LessThanComparableConcept<unsigned> ); - _Instantiate(_Mutable_BidirectionalIteratorConcept< - __normal_iterator< std::locale::facet**, - std::vector<std::locale::facet*,std::allocator<std::locale::facet*> > > > ); - - _Instantiate(_Mutable_BidirectionalIteratorConcept< - __normal_iterator< unsigned*, - std::vector<unsigned, std::allocator<unsigned> > > > ); - - _Instantiate(_Mutable_ForwardIteratorConcept< - __normal_iterator< std::locale::facet**, - std::vector<std::locale::facet*,std::allocator<std::locale::facet*> > > > ); - - _Instantiate(_OutputIteratorConcept< - std::locale::facet**, std::locale::facet*> ); - - _Instantiate(_OutputIteratorConcept< - __normal_iterator< std::locale::facet**, - std::vector<std::locale::facet*, std::allocator<std::locale::facet* > > >, - std::locale::facet* > ); - - _Instantiate(_OutputIteratorConcept<__normal_iterator< - unsigned*, std::vector<unsigned, std::allocator<unsigned> > >, unsigned> ); - _Instantiate(_OutputIteratorConcept<std::ostreambuf_iterator< char, std::char_traits<char> >, char> ); @@ -153,7 +105,6 @@ namespace __gnu_cxx _Instantiate(_RandomAccessIteratorConcept<wchar_t const*> ); #endif - } // namespace __gnu_cxx #undef _Instantiate diff --git a/libstdc++-v3/src/stl-inst.cc b/libstdc++-v3/src/stl-inst.cc index 94d26b33d23..d8879a7bccd 100644 --- a/libstdc++-v3/src/stl-inst.cc +++ b/libstdc++-v3/src/stl-inst.cc @@ -33,21 +33,15 @@ #include <bits/c++config.h> #include <memory> -#include <vector> namespace std { template class allocator<char>; template class allocator<wchar_t>; +#ifdef __USE_MALLOC template class __malloc_alloc_template<0>; - -#ifndef __USE_MALLOC +#else template class __default_alloc_template<true, 0>; #endif - - template - void - vector<unsigned int>:: - _M_insert_aux(vector<unsigned int>::iterator, unsigned int const &); } // namespace std |
