summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/backward
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2009-04-18 23:19:18 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2009-04-18 21:19:18 +0000
commit50a681c4ee5933c5a561620c7df36716f39374bb (patch)
treeff0f30a3b683fc476e77fd8e5b143626f1b2d746 /libstdc++-v3/include/backward
parent61cc82231be2c47c429b9b4ae8c18b3a4d13d12f (diff)
downloadgcc-50a681c4ee5933c5a561620c7df36716f39374bb.tar.gz
condition_variable.cc (condition_variable, [...]): Mark throw()
* src/condition_variable.cc (condition_variable, condition_variable_any constructors): Mark throw() * src/hash.cc (operator() for long double, string, and wstring): Mark throw (). * src/strstream.cc (strstreambuf constructors, freeze, str, pcount, _M_setup, rdbuf, str): Mark throw (). * src/chrono.cc (new): Mark throw (). * include/std/system_error (system_category, generic_category): Mark throw () and const. * include/std/chrono (now): Mark throw (). * include/std/condition_variable (condition_variable, ~condition_variable, condition_variable_any, ~condition_variable_any): Mark throw (). * include/std/mutex (mutex): Mark throw (). * include/bits/stl_list.h (swap, transfer, reverse, hook, unhook): Mark throw. * include/bits/functional_hash.h (operator() on size_t): Mark pure and throw (). * include/bits/locale_facets.tcc (__verify_grouping): Mark pure. * include/bits/locale_classes.h (_S_initialize_once, _S_clone_c_locale): Mark throw (). (_S_get_c_name): Mark const and throw (). (_M_id, _M_compare, _M_transform, _M_compare, _M_transform): Mark throw (). * include/bits/locale_facets.h (__convert_to_v explicit instances): Mark throw (). (_M_convert_to_wmask, _M_initialize_ctype, _S_format_float): Mark throw (). * include/bits/ios_base.h (_M_dispose_callbacks, _M_init, imbue, ios_base): Mark throw () * include/bits/locale_facets_nonio.h (_M_put): Mark throw. * include/backward/strstream (strstreambuf constructors): Mark throw (). (str, freeze, _M_setupf): Mark throw (). (pcount): Mark pure and throw (). (rdbuf): Mark const and throw (). From-SVN: r146328
Diffstat (limited to 'libstdc++-v3/include/backward')
-rw-r--r--libstdc++-v3/include/backward/strstream40
1 files changed, 20 insertions, 20 deletions
diff --git a/libstdc++-v3/include/backward/strstream b/libstdc++-v3/include/backward/strstream
index a643e8b8107..0ffbb81ea97 100644
--- a/libstdc++-v3/include/backward/strstream
+++ b/libstdc++-v3/include/backward/strstream
@@ -66,20 +66,20 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
explicit strstreambuf(streamsize __initial_capacity = 0);
strstreambuf(void* (*__alloc)(size_t), void (*__free)(void*));
- strstreambuf(char* __get, streamsize __n, char* __put = 0);
- strstreambuf(signed char* __get, streamsize __n, signed char* __put = 0);
- strstreambuf(unsigned char* __get, streamsize __n, unsigned char* __put=0);
+ strstreambuf(char* __get, streamsize __n, char* __put = 0) throw ();
+ strstreambuf(signed char* __get, streamsize __n, signed char* __put = 0) throw ();
+ strstreambuf(unsigned char* __get, streamsize __n, unsigned char* __put=0) throw ();
- strstreambuf(const char* __get, streamsize __n);
- strstreambuf(const signed char* __get, streamsize __n);
- strstreambuf(const unsigned char* __get, streamsize __n);
+ strstreambuf(const char* __get, streamsize __n) throw ();
+ strstreambuf(const signed char* __get, streamsize __n) throw ();
+ strstreambuf(const unsigned char* __get, streamsize __n) throw ();
virtual ~strstreambuf();
public:
- void freeze(bool = true);
- char* str();
- int pcount() const;
+ void freeze(bool = true) throw ();
+ char* str() throw ();
+ _GLIBCXX_PURE int pcount() const throw ();
protected:
virtual int_type overflow(int_type __c = _Traits::eof());
@@ -103,7 +103,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
void _M_free(char*);
// Helper function used in constructors.
- void _M_setup(char* __get, char* __put, streamsize __n);
+ void _M_setup(char* __get, char* __put, streamsize __n) throw ();
private:
// Data members.
@@ -125,8 +125,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
istrstream(const char*, streamsize);
virtual ~istrstream();
- strstreambuf* rdbuf() const;
- char* str();
+ _GLIBCXX_CONST strstreambuf* rdbuf() const throw ();
+ char* str() throw ();
private:
strstreambuf _M_buf;
@@ -140,10 +140,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ostrstream(char*, int, ios_base::openmode = ios_base::out);
virtual ~ostrstream();
- strstreambuf* rdbuf() const;
- void freeze(bool = true);
- char* str();
- int pcount() const;
+ _GLIBCXX_CONST strstreambuf* rdbuf() const throw ();
+ void freeze(bool = true) throw();
+ char* str() throw ();
+ _GLIBCXX_PURE int pcount() const throw ();
private:
strstreambuf _M_buf;
@@ -162,10 +162,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
strstream(char*, int, ios_base::openmode = ios_base::in | ios_base::out);
virtual ~strstream();
- strstreambuf* rdbuf() const;
- void freeze(bool = true);
- int pcount() const;
- char* str();
+ _GLIBCXX_CONST strstreambuf* rdbuf() const throw ();
+ void freeze(bool = true) throw ();
+ _GLIBCXX_PURE int pcount() const throw ();
+ char* str() throw ();
private:
strstreambuf _M_buf;