blob: 3002cccc759cd2435a6985e5a911c45c028acc73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "stream_support.h"
#include <array>
#include <vector>
static_assert(spanable<std::vector<int>>);
static_assert(spanable<std::vector<char>>);
static_assert(spanable<std::array<int, 1>>);
static_assert(spanable<std::array<char, 1>>);
static_assert(!spanable<std::string>);
static_assert(!spanable<std::string_view>);
|