parcel 0.2.2
Wrappable, wire-transferable C++23 value system with JSON serialization
Loading...
Searching...
No Matches
parcel::id_join< Parts > Struct Template Reference

Compile-time concatenation of std::string_view references into a single std::string_view with static storage. More...

#include <common.h>

Detailed Description

template<std::string_view const &... Parts>
struct parcel::id_join< Parts >

Compile-time concatenation of std::string_view references into a single std::string_view with static storage.

Used internally by composite cells (typed list, typed map, struct) to join a wire prefix with a nested cell's static kind_id without per-class lambda boilerplate. The result has the same lifetime as a static constexpr — it is safe to expose as static constexpr std::string_view kind_id.

Template Parameters
PartsReferences to std::string_view constants to concatenate in order.

The documentation for this struct was generated from the following file: