This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Mark Mitchell <mark@codesourcery.com> writes:Independent of what the standard says, some systems don't have dynamic memory management, and don't want it.
| ! #if _GLIBCXX_HOSTED | ! using std::free; | ! #else | ! // In a freestanding environment, "free" may not be available. In | ! // that case, it may make sense not to define "operator delete" at | ! // all. For now, we assume that "free" will work.
I do not understand this comment. operator delete is required,
freestanding or not. So, I do not understand the bits saying it may
make sense not to define "operator delete". Could you clarify?
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |