Luna/luna/include/luna
apio be22cf6267
Introduce OwnedStringView
A managed String which uses RAII to free its contents. It's not a proper string though, since it's read-only.
So it's a StringView... but an owned one.

Can't be copied automatically, must be either moved or copied manually by calling clone() on it.
2022-12-16 18:17:15 +01:00
..
Alignment.h Kernel: Enable -Wsign-conversion 2022-12-08 15:09:32 +01:00
Alloc.h Introduce std::nothrow 2022-12-16 18:14:48 +01:00
Attributes.h Replace the _noreturn macro with the C++ native attribute [[noreturn]] 2022-12-06 19:40:35 +01:00
Bitmap.h kernel: Enable -Wsign-conversion and -Wcast-align 2022-12-07 11:47:46 +01:00
Check.h Replace the _noreturn macro with the C++ native attribute [[noreturn]] 2022-12-06 19:40:35 +01:00
CType.h Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
Format.h size_t -> usize 2022-12-07 17:06:29 +01:00
LinkedList.h LinkedList: Return Option instead of ENONE if no value 2022-12-08 16:09:04 +01:00
Move.h Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
NumberParsing.h Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
Option.h Option: Simplify release_value 2022-12-16 18:13:40 +01:00
OwnedStringView.h Introduce OwnedStringView 2022-12-16 18:17:15 +01:00
PlacementNew.h Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
Result.h Result, Option: Make sure everything is properly moved 2022-12-16 18:11:17 +01:00
SafeArithmetic.h Make {add,sub,mul}_will_overflow more compiler-independent 2022-12-06 15:53:06 +01:00
ScopeGuard.h Add scope guards 2022-12-08 14:56:11 +01:00
Stack.h Add a Stack convenience class 2022-12-07 16:11:59 +00:00
String.h Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
SystemError.h Remove ENONE 2022-12-08 16:09:33 +01:00
Types.h Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00
Units.h Reorganize the luna/ directory so that headers aren't in the top level include path 2022-12-04 12:42:43 +01:00