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

Maps a raw field type to its default ICell wrapper. More...

#include <defaults.h>

Detailed Description

template<typename T, typename = void>
struct parcel::default_cell_for< T, typename >

Maps a raw field type to its default ICell wrapper.

Specialize this for custom field types (e.g. user structs) to enable wrapper inference in FieldsBuilder::field<MemberPtr>(key) without an explicit CellT. Primary template intentionally has no type member so unsupported types fail SFINAE / concept checks loudly.

Template Parameters
TField type to map.
See also
FieldsBuilder
HasDefaultCellWrapper

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