Skip to content
master
Go to file
Code
This branch is 21 commits ahead of madureira:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

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!");

Benchmark

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
You can’t perform that action at this time.