Opened 14 years ago
Closed 14 years ago
#2884 closed Feature Requests (fixed)
has_operator_new
Reported by: | Robert Ramey | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Boost 1.39.0 | Component: | None |
Version: | Boost 1.38.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I need this to address a TRAK ticket which deals with loading pointers to classes which overloaded new operator. Up to now, the serialization library couldn't handle that, now I believe it will be able to.
Attachments (2)
Change History (4)
by , 14 years ago
Attachment: | has_new_operator.hpp added |
---|
by , 14 years ago
Attachment: | has_operator_new.cpp added |
---|
comment:1 by , 14 years ago
Status: | new → assigned |
---|
Note:
See TracTickets
for help on using tickets.
Robert,
I've added a modified version of this to SVN Trunk: please note that I've modified to detect the presence of any of the standard operator new overloads: since if any one of these is defined, then the others get hidden. Tested with msvc, gcc, intel and sun compilers.
Let me know if this is looking OK for you.
John.