
On Tue, Nov 19, 2024 at 4:46 PM Dennis Luehring via Boost < boost@lists.boost.org> wrote:
Am 19.11.2024 um 09:37 schrieb Klemens Morgenstern via Boost:
sqltie:;value would work. I should add optional support though.
maybe a related question - how to you handle overflows - for example reading a too large value into a float?
That's not supported, you'll need to provide a double or a 64 bit int.
is there a way to define how safe the conversion should be (plain cast, check for overflow and throw exception)?
It's a minimal set of types at the moment and these are all safe. A user can add his own conversions and will then be responsible to assure it's safe.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost