mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 05:28:01 +00:00
be7ce4110e
This reverts commit e96515433d
.
9 lines
189 B
C++
9 lines
189 B
C++
// Test for std::span.
|
|
#include <span>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
std::span<char *> args{argv, static_cast<std::size_t>(argc)};
|
|
return static_cast<int>(std::size(args) - 1u);
|
|
}
|