summaryrefslogtreecommitdiff
path: root/test/test-static-stream_support.cpp
blob: 367d5a21df7b77204d6bee41cb4b4fa7d9ea514c (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "stream_support.hpp"

#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>);