-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
Platform 3 05/15/15, Platform 4 06/05/15
This has come up a few times in recent code reviews.
According to jason.carey this is best accomplished using std::aligned_storage
- depends on
-
SERVER-18695 ElectionWinnerDeclarer::Algorithm::processResponse can call getValue() on non-OK StatusWith
- Closed
-
SERVER-18737 Balancer::run can call getValue() on non-OK StatusWith
- Closed
-
SERVER-18738 FindAndModifyCommand::run can create an invalid StatusWith
- Closed
-
SERVER-18764 Only use elapsedMillis when command succeeds
- Closed
- is depended on by
-
SERVER-18782 rename StatusWith to ErrorOr
- Closed