Opened 15 years ago
Closed 15 years ago
#1420 closed Patches (fixed)
optional_base::operator=() optimization
Reported by: | Owned by: | Fernando Cacciola | |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | optional |
Version: | Boost 1.34.1 | Severity: | Optimization |
Keywords: | Cc: | fernando_cacciola@… |
Description
Hi,
A a1; boost::optional<A> opt1(a1); boost::optional<A> opt2; opt2 = opt1;
the operator=() will call to assign(optional<U> const& rsh), not assign(optional_base const& rsh).
Attachments (2)
Change History (3)
by , 15 years ago
Attachment: | boost_1_34_1_optional.diff added |
---|
comment:1 by , 15 years ago
Milestone: | To Be Determined → Boost 1.35.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch optional<T>::operator=.