Comms CCF
This is a simple communication layer based on COBS, CBOR and FNV-1A
Loading...
Searching...
No Matches
comptime_str.hpp File Reference

Compile-time string manipulation. More...

#include <stddef.h>
#include <algorithm>
#include <array>
#include <string_view>

Go to the source code of this file.

Classes

struct  CompTimeString< Size >

Detailed Description

Compile-time string manipulation.

Compile-time string manipulation

We want to be able to create the RPC schema at compile time, for which we need some helpers to do compile-time string manipulation.

More specifically, we manipulate compile-time arrays, which we can pass using the copy constructor. And define a string-view operation on it.