Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3400: Problem with boost::serialization when only operator new[] is overrided
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-04 11:38:28
#3400: Problem with boost::serialization when only operator new[] is overrided
-------------------------------------------------+--------------------------
Reporter: Runar Undheim <r.undheim@â¦> | Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: serialization
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
-------------------------------------------------+--------------------------
Comment(by Runar Undheim <r.undheim@â¦>):
The serialization code use the has_new_operator to decide if it should
call T::new or ::new. But what should happen if only the operation new for
arrays is overridden? If T::new function only should be called when the
operator new(size_t) is overridden then the has_new_operator function may
be split into three different functions (ex. has_new_operator,
has_new_operator_array and has_new_operator_placement)?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3400#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC