boostorg / throw_exception

Common infrastructure for throwing exceptions
https://boost.org/libs/throw_exception
14 stars 46 forks source link

Small fix for those using -Wsign-conversion #21

Closed igaztanaga closed 3 years ago

pdimov commented 3 years ago

Or maybe just change I to std::size_t, for those whose compilers warn on C style casts? :-)

igaztanaga commented 3 years ago

Sure, changing I to std::size_t seems cleaner ;-)