2 * Copyright (c) 2024 EfficiOS Inc.
4 * SPDX-License-Identifier: MIT
7 #ifndef BABELTRACE_CPP_COMMON_BT2C_MAKE_SPAN_HPP
8 #define BABELTRACE_CPP_COMMON_BT2C_MAKE_SPAN_HPP
10 #include "cpp-common/bt2s/span.hpp"
15 inline constexpr bt2s::span<T> makeSpan(T * const ptr, const size_t count) noexcept
17 return nonstd::make_span(ptr, count);
20 } /* namespace bt2c */
22 #endif /* BABELTRACE_CPP_COMMON_BT2C_MAKE_SPAN_HPP */