parse: move test binaries into a single directory
This commit is contained in:
parent
32427a1df2
commit
48c4866705
@ -606,7 +606,8 @@ if (TESTS)
|
|||||||
matrix
|
matrix
|
||||||
memory/deleter
|
memory/deleter
|
||||||
parallel/queue
|
parallel/queue
|
||||||
parse
|
parse/value
|
||||||
|
parse/si
|
||||||
point
|
point
|
||||||
polynomial
|
polynomial
|
||||||
pool
|
pool
|
||||||
@ -618,7 +619,6 @@ if (TESTS)
|
|||||||
rational
|
rational
|
||||||
region
|
region
|
||||||
roots/bisection
|
roots/bisection
|
||||||
si
|
|
||||||
signal
|
signal
|
||||||
singleton
|
singleton
|
||||||
stream
|
stream
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include <system_error>
|
#include <system_error>
|
||||||
|
|
||||||
namespace cruft::parse {
|
namespace cruft::parse {
|
||||||
|
/// Parse a number with an SI suffix. eg, 10K for 10 * 1024
|
||||||
template <typename ValueT>
|
template <typename ValueT>
|
||||||
expected<ValueT, std::errc>
|
expected<ValueT, std::errc>
|
||||||
si (cruft::view<char const*>);
|
si (cruft::view<char const*>);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user