aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@gcc.gnu.org>2009-05-21 01:12:00 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2009-05-21 01:12:00 +0000
commitd29d4507b20843bca8000bb9ebeeff3637dd31ba (patch)
treec56e29414015d8d362048f2600dec8925fe585b3 /gcc/cp/decl.c
parentf256c06431521e45c8bdfa52d99ee481b7bf77ce (diff)
downloadgcc-d29d4507b20843bca8000bb9ebeeff3637dd31ba.zip
gcc-d29d4507b20843bca8000bb9ebeeff3637dd31ba.tar.gz
gcc-d29d4507b20843bca8000bb9ebeeff3637dd31ba.tar.bz2
functional (function): Use explicit operator bool.
2009-05-20 Benjamin Kosnik <bkoz@redhat.com> * include/tr1_impl/functional (function): Use explicit operator bool. * include/bits/shared_ptr.h (__shared_ptr): Same. * include/bits/unique_ptr.h (unique_ptr): Same. * include/std/mutex (unique_lock): Same. * include/std/system_error (error_code): Same. (error_condition): Same. * include/std/ostream (sentry): Same. * include/std/istream (sentry): Same. * testsuite/19_diagnostics/error_condition/operators/bool.cc: Adjust. * testsuite/19_diagnostics/error_condition/operators/bool_neg.cc: Same. * testsuite/19_diagnostics/error_code/operators/bool.cc: Same. * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same. * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Same. * testsuite/20_util/shared_ptr/observers/bool_conv.cc: Same. From-SVN: r147756
Diffstat (limited to 'gcc/cp/decl.c')
0 files changed, 0 insertions, 0 deletions