summaryrefslogtreecommitdiff
path: root/lib/stream_support.cpp
blob: 2054873d736f041dd8e2eddb00b2c5a327f14f44 (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>);