Opened 14 years ago
Closed 12 years ago
#2159 closed Feature Requests (wontfix)
release()
| Reported by: | anonymous | Owned by: | Fernando Cacciola |
|---|---|---|---|
| Milestone: | Boost 1.36.0 | Component: | optional |
| Version: | Boost 1.35.0 | Severity: | Optimization |
| Keywords: | Cc: |
Description
I propose the addition of a new function to the boost::optional class.
T & release()
This function should reset() the internal value, and return it. It should throw if the optional does not contain any internal T.
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 12 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Wontfix. As it is impossible to implement requested functionality.
Note:
See TracTickets
for help on using tickets.

This should be closed as wontfix.