icu4x icon indicating copy to clipboard operation
icu4x copied to clipboard

Should our marker types, especially data markers, be non-constructible?

Open sffc opened this issue 1 year ago • 4 comments

We currently use empty structs for our data markers, like this:

struct MyDataStructMarker;

Should we instead make them non-constructible?

enum MyDataStructMarker {}

@robertbastian @Manishearth

sffc avatar Mar 11 '24 19:03 sffc