summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/stl-inst.cc
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-23 20:02:03 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-23 20:02:03 +0000
commit3addce4ea6c6cffa834b5aef8c95e263ec842190 (patch)
tree2f409b3003fb671d9f9feb408d2ac22f04291f08 /libstdc++-v3/src/stl-inst.cc
parent274a89f2316b16fd9d4c49e54956f8a03c58d43a (diff)
downloadgcc-3addce4ea6c6cffa834b5aef8c95e263ec842190.tar.gz
2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
* src/misc-inst.cc (__sink_unused_warning): Move to... * src/locale-inst.cc (__sink_unused_warning): Move to... * src/stl-inst.cc: Here. * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define, commented it out. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40792 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/stl-inst.cc')
-rw-r--r--libstdc++-v3/src/stl-inst.cc26
1 files changed, 23 insertions, 3 deletions
diff --git a/libstdc++-v3/src/stl-inst.cc b/libstdc++-v3/src/stl-inst.cc
index 29337c02bbf..f5008c950dd 100644
--- a/libstdc++-v3/src/stl-inst.cc
+++ b/libstdc++-v3/src/stl-inst.cc
@@ -1,6 +1,6 @@
// Explicit instantiation file.
-// Copyright (C) 1999 Free Software Foundation, Inc.
+// Copyright (C) 1999, 2001 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -34,6 +34,7 @@
#include <bits/c++config.h>
#include <bits/stl_alloc.h>
#include <bits/std_vector.h>
+#include <bits/std_ostream.h>
namespace std
{
@@ -49,8 +50,27 @@ namespace std
vector<unsigned int>::
_M_insert_aux(vector<unsigned int>::iterator, unsigned int const &);
+#ifdef __STL_USE_CONCEPT_CHECKS
template
- void
- __sink_unused_warning<unsigned int>(unsigned int);
+ void __sink_unused_warning<unsigned int>(unsigned int);
+
+ template
+ void __sink_unused_warning<locale::facet*>(locale::facet*);
+ template
+ void __sink_unused_warning<char>(char);
+
+ template
+ void __sink_unused_warning<ostreambuf_iterator<char> >
+ (ostreambuf_iterator<char>);
+
+# ifdef _GLIBCPP_USE_WCHAR_T
+ template
+ void __sink_unused_warning<wchar_t>(wchar_t);
+
+ template
+ void __sink_unused_warning<ostreambuf_iterator<wchar_t> >
+ (ostreambuf_iterator<wchar_t>);
+# endif
+#endif
} //std