mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-28 00:38:51 +00:00
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);
|
||
|
}
|