1/*
2Copyright 2022 Glen Joseph Fernandes
3(glenjofe@gmail.com)
4
5Distributed under the Boost Software License, Version 1.0.
6(http://www.boost.org/LICENSE_1_0.txt)
7*/
8#include <boost/config.hpp>
9#if !defined(BOOST_NO_CXX11_CONSTEXPR) && !defined(BOOST_NO_CXX11_DECLTYPE)
10#include <boost/core/span.hpp>
11#include <vector>
12
13namespace boost {
14namespace begin_ {
15
16template<class T>
17void begin(T&) { }
18
19} // begin_
20
21using namespace begin_;
22
23} // boost
24
25template class boost::span<float>;
26
27void function()
28{
29 std::vector<int> y;
30 boost::begin(y);
31}
32#endif
33

source code of boost/libs/core/test/span_boost_begin_test.cpp