diff options
| author | Branko Cibej <branko.cibej@hermes.si> | 2000-06-29 21:07:04 +0000 | 
|---|---|---|
| committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-06-29 21:07:04 +0000 | 
| commit | c011e2ad8adc191c6c38089cf05ae9f3daaf5a08 (patch) | |
| tree | 52fa0cbca10dc902dd94856e2761fd6ad182347d /gcc/java/expr.c | |
| parent | d1e43c8bf095960b34fc36a18150b81c300f05ce (diff) | |
| download | gcc-c011e2ad8adc191c6c38089cf05ae9f3daaf5a08.zip gcc-c011e2ad8adc191c6c38089cf05ae9f3daaf5a08.tar.gz gcc-c011e2ad8adc191c6c38089cf05ae9f3daaf5a08.tar.bz2  | |
std_memory.h (auto_ptr_ref): Reworked and defined only if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2000-06-29  Branko Cibej  <branko.cibej@hermes.si>
        * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
        _GLIBCPP_RESOLVE_LIB_DEFECTS.
        (auto_ptr): _M_ptr changed to void*.
        (suto_ptr::get): Cast _M_ptr to element type.
        (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
        (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
        (auto_ptr::operator*): Likewise.
        (auto_ptr::operator->): Likewise.
        (auto_ptr::release): Likewise.
        (auto_ptr::reset): Likewise.
        (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
        (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
        Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
        Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
From-SVN: r34792
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions
