Revert "Delete and re-add libpqxx-7.7.3 due to weird corruption."

This reverts commit e96515433d.
This commit is contained in:
Grant Limberg 2022-06-24 10:12:36 -07:00
commit be7ce4110e
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
457 changed files with 110654 additions and 0 deletions

View file

@ -0,0 +1,16 @@
// Test for std::to_string/std::from_string for integral types.
#include <charconv>
#include <iterator>
int main()
{
char z[100];
auto rt = std::to_chars(std::begin(z), std::end(z), 9ULL);
if (rt.ec != std::errc{})
return 1;
unsigned long long n;
auto rf = std::from_chars(std::cbegin(z), std::cend(z), n);
if (rf.ec != std::errc{})
return 2;
return (n == 9ULL) ? 0 : 1;
}