5 Commits

Author SHA1 Message Date
Peter Powell
874ce50b8d Add overloads for ConvToNum to prevent (unsigned) char weirdness. 2019-01-28 11:08:19 +00:00
Peter Powell
0f7cfd46ef Fix conversion issues by replacing ConvToInt with ConvToNum<T>.
The former was a thin wrapper around atol and brought with it all
of the weird parsing logic of atol which is almost never what is
actually wanted. It also almost never returned the numeric type
which is actually wanted which can cause weird issues when casting.
2018-12-12 21:43:24 +00:00
Peter Powell
36040be295 Fix a ton of -Wsign-conversion warnings. 2017-11-17 15:33:01 +00:00
Attila Molnar
810ddfb91a Add no-op ConvToStr(const std::string&) 2016-02-25 15:18:39 +01:00
Attila Molnar
8f5a3bb7bc Move implementation of ConvTo*() and related functions into convto.h 2016-02-25 15:15:00 +01:00