| 1 | /* |
| 2 | Copyright 2022 Glen Joseph Fernandes |
| 3 | (glenjofe@gmail.com) |
| 4 | |
| 5 | Distributed 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 | |
| 13 | namespace boost { |
| 14 | namespace begin_ { |
| 15 | |
| 16 | template<class T> |
| 17 | void begin(T&) { } |
| 18 | |
| 19 | } // begin_ |
| 20 | |
| 21 | using namespace begin_; |
| 22 | |
| 23 | } // boost |
| 24 | |
| 25 | template class boost::span<float>; |
| 26 | |
| 27 | void function() |
| 28 | { |
| 29 | std::vector<int> y; |
| 30 | boost::begin(y); |
| 31 | } |
| 32 | #endif |
| 33 | |