Wiki

Clone wiki

kick / string

The Skinny

A string is a sequence of characters. The kick implementation of string uses array_allocator<char> for memory management.

Basic Usage

#include <iostream>
#include <kick/string.h>

int main( int argc, char* argv[] ){
    kick::string myString1( "one" ); 
    kick::string myString2 = "two"; 

    // Outputs "one"
    std::cout << myString1 << std::endl; 

    // Outputs "two"
    std::cout << myString2 << std::endl; 

}

Updated