diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2012-06-23 00:17:36 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2012-06-23 00:17:36 +0200 |
commit | ddd1cbd976340e24748197a9c55cf55cc159dcb0 (patch) | |
tree | 6d081c90a2ea10ce66a33a84bc62ecefcc77c4c4 /gmpxx.h | |
parent | 045013f60d048c56f16afbe28c48ad2efc7e4148 (diff) | |
download | gmp-ddd1cbd976340e24748197a9c55cf55cc159dcb0.tar.gz |
specializing numeric_limits is useless if the content is private...
I'll add some tests later to make sure I don't accidentally revert it some day.
Diffstat (limited to 'gmpxx.h')
-rw-r--r-- | gmpxx.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3241,6 +3241,7 @@ public: namespace std { template <> class numeric_limits<mpz_class> { + public: static const bool is_specialized = true; static mpz_class min() { return mpz_class(); } static mpz_class max() { return mpz_class(); } @@ -3277,6 +3278,7 @@ namespace std { template <> class numeric_limits<mpq_class> { + public: static const bool is_specialized = true; static mpq_class min() { return mpq_class(); } static mpq_class max() { return mpq_class(); } @@ -3313,6 +3315,7 @@ namespace std { template <> class numeric_limits<mpf_class> { + public: static const bool is_specialized = true; static mpf_class min() { return mpf_class(); } static mpf_class max() { return mpf_class(); } |