Bananymous
|
a68f411024
|
BAN: Add requires clauses for Container::emplace{,_back} functions
This allows syntax highlighters to report errors!
|
2024-10-10 21:51:44 +03:00 |
Bananymous
|
f432d3fcf8
|
BAN: Cleanup Optional casting for value getters
|
2024-10-07 01:44:44 +03:00 |
Bananymous
|
fd8dc03ae9
|
BAN: Default initialize optional storage
This removes maybe uninitialized warning when using default initialized
optionals.
|
2024-07-16 11:19:16 +03:00 |
Bananymous
|
442ea8a692
|
BAN: Remove Optional emplace constructor
This was kind breaking some initializations. Emplacing is still possible
through Optional::emplace
|
2024-07-14 01:53:50 +03:00 |
Bananymous
|
62003d96f3
|
BAN: Implement Optional::value_or
This will return value specified in the argument if optional is not
storing any value.
|
2024-07-12 11:22:10 +03:00 |
Bananymous
|
f5987b68ff
|
BAN: Mark some class methods as constexpr
|
2024-05-28 01:07:29 +03:00 |
Bananymous
|
4273f43be1
|
BAN: Move placement new to its own file and fix includes
|
2024-01-31 23:55:41 +02:00 |
Bananymous
|
dfe5a2d665
|
All: Cleanup all files
Add newline to end of files and remove whitespace from end of lines
|
2024-01-24 15:53:38 +02:00 |
Bananymous
|
744ff40ba0
|
BAN: Optional can now be constructed from another Optional
Also fix bug in release_value() where we did not call the
destructor.
|
2023-10-11 20:10:06 +03:00 |
Bananymous
|
921d95d18f
|
All: Clear lines with only whitspace in them
|
2023-09-10 00:31:42 +03:00 |
Bananymous
|
21c6135ae2
|
BAN: Fix function call in Optional
|
2023-07-21 10:57:46 +03:00 |
Bananymous
|
b9603d9d23
|
BAN: Optional can be constructed inplace
|
2023-06-12 23:45:36 +03:00 |
Bananymous
|
16e5f96b1d
|
BAN: Add operator-> and operator* to Optional
|
2023-06-12 22:25:14 +03:00 |
Bananymous
|
cce2f3e19a
|
BAN: Add basic Optional
|
2023-06-11 21:00:25 +03:00 |