Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.
/ String Public archive
forked from madureira/String

A lightweight, dependency-free C++ custom string, with homemade formatting

License

Notifications You must be signed in to change notification settings

ArkScript-lang/String

This branch is 41 commits ahead of madureira/String:master.

Repository files navigation

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

About

A lightweight, dependency-free C++ custom string, with homemade formatting

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 96.9%
  • CMake 3.1%