+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.
+
2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* intclude/bits/basic_file.h: Fix typos in comments.
// Concept-checking code is on by default unless users define
// the _STL_NO_CONCEPT_CHECKS hook.
+//#define _STL_NO_CONCEPT_CHECKS 1
#if !defined(_STL_NO_CONCEPT_CHECKS)
# define __STL_USE_CONCEPT_CHECKS
#endif
namespace std
{
-
typedef ostreambuf_iterator<char, char_traits<char> > obuf_iterator;
typedef istreambuf_iterator<char, char_traits<char> > ibuf_iterator;
typedef ostreambuf_iterator<wchar_t, char_traits<wchar_t> > wobuf_iterator;
#endif
#endif // _GLIBCPP_USE_WCHAR_T
- template
- void __sink_unused_warning<locale::facet*>(locale::facet*);
-
template
locale::facet**
fill_n<locale::facet**, size_t, locale::facet*>
(vector<string>::const_iterator, vector<string>::const_iterator,
string*, _Bool<false>);
- template
- void
- __sink_unused_warning<char>(char);
-#ifdef _GLIBCPP_USE_WCHAR_T
- template
- void
- __sink_unused_warning<wchar_t>(wchar_t);
-#endif
-
- template
- void
- __sink_unused_warning<ostreambuf_iterator<char> >
- (ostreambuf_iterator<char>);
-#ifdef _GLIBCPP_USE_WCHAR_T
- template
- void
- __sink_unused_warning<ostreambuf_iterator<wchar_t> >
- (ostreambuf_iterator<wchar_t>);
-#endif
-
template
void
__pad_char(basic_ios<char>&, char*, const char*,
// 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
#include <bits/c++config.h>
#include <bits/stl_alloc.h>
#include <bits/std_vector.h>
+#include <bits/std_ostream.h>
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