Files
Adrien Béraud d32f51455a infohash: make core APIs constexpr and non-throwing hex parse
Make Hash default constructor, hex constructor, data(), const
operator[] and fromString constexpr. Change fromString to be
non-throwing: it now uses a validity flag and fills the hash with zeros
on parse error instead of throwing. Add a constexpr toHexArray helper
that returns a std::array<char, N*2> for compile-time hex conversion.
Update tests to include <string_view>, use std::string_view, add
constexpr InfoHash usage and a static_assert for the hex array.
2026-02-22 18:45:17 -05:00
..
2019-10-16 10:57:10 -04:00
2026-02-22 16:27:35 -05:00
2026-01-29 22:55:47 -05:00
2026-02-19 21:50:07 -05:00