cnl icon indicating copy to clipboard operation
cnl copied to clipboard

Tags as NTTPs

Open johnmcfarlane opened this issue 4 years ago • 1 comments
trafficstars

E.g.:

scaled_integer<int, power{-16}>

This must wait for the release of Clang 12: Clang/GCC, MSVC.

johnmcfarlane avatar Mar 13 '21 23:03 johnmcfarlane

Alternatively, keep tags as types, and store them alongside rep with no-addressable attribute. Could be used to extend overflow_integer to solve this problem: https://github.com/boostorg/safe_numerics/issues/129

johnmcfarlane avatar Oct 10 '22 10:10 johnmcfarlane