libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
literals Namespace Reference

User-defined literal for convenient String construction. More...

Detailed Description

User-defined literal for convenient String construction.

Auto-detects encoding: if any byte is > 0x7F the literal is decoded as UTF-8, otherwise it is treated as Latin1.

using namespace promeki::literals;
String s = "Hello"_ps; // Latin1
String u = "café"_ps; // auto-detected as UTF-8
Dynamic array container wrapping std::vector.
Definition list.h:40
Encoding-aware string class with copy-on-write semantics.
Definition string.h:35