mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
Delete and re-add libpqxx-7.7.3 due to weird corruption.
This commit is contained in:
parent
5a8d2c3cb4
commit
e96515433d
457 changed files with 0 additions and 110654 deletions
|
@ -1,21 +0,0 @@
|
|||
// Test for concepts support. Not just the language feature; also headers.
|
||||
#include <iostream>
|
||||
#include <ranges>
|
||||
#include <vector>
|
||||
|
||||
|
||||
template<typename T>
|
||||
concept Foo = std::ranges::input_range<T>;
|
||||
|
||||
|
||||
template<Foo F> auto foo(F const &r)
|
||||
{
|
||||
return std::distance(std::begin(r), std::end(r));
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
std::vector<int> const v{1, 2, 3};
|
||||
std::cout << foo(v) << '\n';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue