banan-os/BAN
Bananymous 06916f56be BAN: Variant now works with references
References can be assigned with the set() method. Construction nor
assigment operators cannot be used with references to avoid ambiguity
with what assignment to reference does.

You can set the underlying reference with the set() method and access
it with the get() method.

The references are stored as pointers to the object under the hood
which means that size of a reference is sizeof pointer.
2023-04-18 19:53:34 +03:00
..
BAN BAN: Move RefPtr to its own file and create New.h 2023-04-10 21:07:25 +03:00
include/BAN BAN: Variant now works with references 2023-04-18 19:53:34 +03:00
.gitignore Kernel: lol 2022-12-13 12:12:15 +02:00
CMakeLists.txt BuildSystem: Fix header copying to sysroot 2023-04-10 21:07:25 +03:00