aboutsummaryrefslogtreecommitdiff
path: root/include/convto.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+0
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-0/+1
* Fix the signed-ness within ConvToNum char overloads.•••It should be signed int with signed char and vice-versa. Currently, anything over 127 as unsigned char would return 0. Gravatar Matt Schatz2020-03-241-4/+4
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+2
* Add overloads for ConvToNum to prevent (unsigned) char weirdness.Gravatar Peter Powell2019-01-281-0/+16
* 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. Gravatar Peter Powell2018-12-121-10/+1
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
* Add no-op ConvToStr(const std::string&)Gravatar Attila Molnar2016-02-251-0/+5
* Move implementation of ConvTo*() and related functions into convto.hGravatar Attila Molnar2016-02-251-0/+105