Skip to content
This repository was archived by the owner on Jul 23, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 750 Bytes

File metadata and controls

30 lines (20 loc) · 750 Bytes

String

A lightweight, dependency-free C++ custom string.

language

Install

Use cmake and add_subdirectory(String), then the files to include are located in STRING_INCLUDES, the files to compile in STRING_SOURCES

How to use

#include <Ark/String.hpp>

String text("Hello, world!");

Details

Compiled with MSVC 15.9 (Win32)

  • Debug mode: sizeof(String) = 8 bytes
  • Release mode: sizeof(String) = 8 bytes
  • all tests are passing

Compiled with MSVC 15.9 (64bits)

  • Debug mode: sizeof(String) = 16 bytes
  • Release mode: sizeof(String) = 16 bytes
  • all tests are passing