summaryrefslogtreecommitdiff
path: root/include/convto.h
AgeCommit message (Collapse)Author
2020-01-11Update copyright headers.InspIRCd Robot
2019-01-28Add overloads for ConvToNum to prevent (unsigned) char weirdness.Peter Powell
2018-12-12Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Peter Powell
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.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2016-02-25Add no-op ConvToStr(const std::string&)Attila Molnar
2016-02-25Move implementation of ConvTo*() and related functions into convto.hAttila Molnar