Opened 10 years ago
Closed 10 years ago
#7065 closed Feature Requests (fixed)
Optimize conversion to and from boost and std array
Reported by: | Antony Polukhin | Owned by: | Antony Polukhin |
---|---|---|---|
Milestone: | To Be Determined | Component: | lexical_cast |
Version: | Boost 1.50.0 | Severity: | Optimization |
Keywords: | array lexical_cast optimization | Cc: |
Description
Those conversions shall not allocate heap memory.
Usage example:
typedef boost::array<char, 50> buf_type; buf_type res = boost::lexical_cast<buf_type>(number_var); // use `res.begin()` as a char*
Change History (6)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
comment:3 by , 10 years ago
comment:4 by , 10 years ago
comment:6 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [79230]) Optimizations for boost and std array (refs #7065)