mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
update controller image and some dependencies
This commit is contained in:
parent
c1384422c3
commit
183a9d7088
667 changed files with 173907 additions and 17 deletions
16
ext/libpqxx-7.7.3/config-tests/charconv_int.cxx
Normal file
16
ext/libpqxx-7.7.3/config-tests/charconv_int.cxx
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue