2016-02-26 13:36:01 +11:00
|
|
|
/*
|
2018-08-04 15:14:06 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2016-02-26 13:36:01 +11:00
|
|
|
*
|
|
|
|
* Copyright:
|
|
|
|
* 2015, Danny Robson <danny@nerdcruft.net>
|
|
|
|
*/
|
2015-10-19 12:06:23 +11:00
|
|
|
|
|
|
|
#include "adapter.hpp"
|
|
|
|
|
2022-06-23 10:58:17 +10:00
|
|
|
#include "concepts/named.hpp"
|
|
|
|
#include <array>
|
|
|
|
|
|
|
|
static std::array<int,5> v;
|
|
|
|
static cruft::adapter::container::transform t (v, [](auto const&) { return false; });
|
|
|
|
|
|
|
|
static_assert (
|
|
|
|
std::is_same_v<
|
|
|
|
typename std::iterator_traits<decltype(t)::iterator>::value_type,
|
|
|
|
bool
|
|
|
|
>
|
|
|
|
);
|