e1f7f3291f
Update copyright dates in unit tests too
2018-07-24 10:11:53 +01:00
f87cddeeeb
Get bool conversion to work
2018-07-22 01:01:59 +01:00
d5b5b5ed0c
Add more tests
2018-07-22 00:42:10 +01:00
e06b87e8f8
Implement constexpr int_to_ary.
2018-07-21 23:32:27 +01:00
c92f132007
Add endianness conversion template functions.
2017-06-21 20:53:27 +01:00
b854a54293
Move the new function to its own header.
2017-05-02 20:01:41 +01:00
91dca8810a
Add a function that returns a MaxSizedArray.
...
This way you can use it to construct ie: a boost::string_ref or
just take the buffer and use it as a c-style string.
2017-05-02 19:14:53 +01:00
f6bddac63d
Use sprout's limits instead of std's and remove unneeded make_unsigned.
...
I'm not sure what it was supposed to be, maybe a customization point
or something, but after the fix for counting the digits correctly I
removed the only usage of make_unsigned, so I could also get rid of
its implementation. Sweet~
2017-04-25 09:33:27 +01:00
c3dee50e5b
Don't use pow and log10 directly because it causes an overflow.
2017-04-13 19:21:25 +01:00
fcb027409d
Add more tests and static asserts and fix the build.
2017-04-12 22:20:33 +01:00
b782ebd53c
Add unit test for lexical_cast (broken)
2017-04-12 13:54:55 +01:00