|
Bugzilla – Full Text Bug Listing |
| Summary: | Change inheritance for ns3::Chunk | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Alex Afanasyev <alexander.afanasyev> |
| Component: | network | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | mathieu.lacage |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Alex Afanasyev
2011-11-14 17:08:50 UTC
Unless you come up with an explanation of why you want to do this, no. The idea of allowing chunks be created on the heap is not bad per se, but doing as you suggest would not mesh very well with the current usage of chunks that are allocated on the stack. I would suggest that you use boost::shared_ptr if you need to do this. |