aboutsummaryrefslogtreecommitdiffstats
path: root/common/aloptional.h
Commit message (Collapse)AuthorAgeFilesLines
* Default initialize a unionChris Robinson2022-02-231-2/+2
| | | | To silence an errant GCC warning
* Don't implicitly convert optionals to boolsChris Robinson2022-02-141-1/+1
|
* Remove an unnecessary template parameter hackChris Robinson2022-02-141-1/+1
|
* Add a couple more methods to al::optionalChris Robinson2021-12-311-0/+16
|
* Workaround a GCC bug with noexcept(this->...)Chris Robinson2021-11-141-18/+25
|
* Fix up some al::optional opsChris Robinson2021-11-081-6/+32
|
* Make al::optional constexprChris Robinson2021-11-071-80/+80
|
* Explicitly declare optional_storage's default constructorChris Robinson2021-10-101-0/+9
| | | | This should help MSVC
* Try again to satisfy MSVCChris Robinson2021-10-091-12/+12
|
* Explicitly initialize the first union memberChris Robinson2021-10-091-5/+3
|
* Add more noexcept when possibleChris Robinson2021-10-091-24/+34
| | | | And try to fix MSVC missing a constructor
* Always define optional::operator=.Chris Robinson2021-10-091-4/+2
| | | | MSVC doesn't seem to like using enable_if for special member functions.
* Make optional more trivial when possibleChris Robinson2021-10-081-49/+177
|
* Make a construct_at method amd use itChris Robinson2021-10-081-2/+2
|
* Fix al::optional operator*Chris Robinson2021-07-311-1/+1
|
* Remove the invalid noexcept specificationChris Robinson2021-01-081-1/+1
|
* Make optional trivially destructible if the stored type isChris Robinson2021-01-021-43/+70
|
* Fix comment typoChris Robinson2021-01-011-1/+1
|
* Remove some unnecessary constructorsChris Robinson2020-12-271-23/+8
|
* Clean up some C++11-ismsChris Robinson2020-03-221-3/+3
|
* Don't clean up more than necessary on destructionChris Robinson2019-09-201-2/+2
|
* Cleanup common sources' includesChris Robinson2019-07-291-0/+2
|
* Add a helper to construct the optional valueChris Robinson2019-07-011-29/+18
|
* Create and use a make_optional methodChris Robinson2019-07-011-0/+12
|
* Add a few more constructor and assignment operators for optionalChris Robinson2019-07-011-3/+35
|
* Use uninitialized_copy/move for optionalsChris Robinson2019-07-011-8/+4
|
* Some cleanup for optionalChris Robinson2019-07-011-7/+13
|
* Add a missing returnChris Robinson2019-07-011-1/+1
|
* Add a simple optional<> implementationChris Robinson2019-06-301-0/+112