A lightweight, dependency-free C++ custom string.
Use cmake and add_subdirectory(String)
, then the files to include are located in STRING_INCLUDES
, the files to compile in STRING_SOURCES
#include <Ark/String.hpp>
String text("Hello, world!");
Doxygen documentation: https://arkscript-lang.github.io/String/html/
Compiled with MSVC 15.9 (Win32)
sizeof(String)
= 8 bytessizeof(String)
= 8 bytesCompiled with MSVC 15.9 (64bits)
sizeof(String)
= 16 bytessizeof(String)
= 16 bytes