foonathan / type_safe

Zero overhead utilities for preventing bugs at compile time
https://type_safe.foonathan.net
MIT License
1.54k stars 122 forks source link

strong_typedef: value_ is a public data member #165

Closed johnilacqua closed 4 months ago

johnilacqua commented 4 months ago

Is it safe to assume this isn't intentional?

foonathan commented 4 months ago

It is intentional, that way it's a structural type and can be used as a non-type template parameter.