OGLplus  (0.59.0) a C++ wrapper for rendering APIs

offset_span.hpp File Reference
#include "offset_ptr.hpp"
#include "span.hpp"

Go to the source code of this file.

Namespaces

 eagine
 Common code is placed in this namespace.
 

Typedefs

template<typename T , typename O = span_size_t, typename S = span_size_t>
using eagine::memory::basic_offset_span = memory::basic_span< T, basic_offset_ptr< T, O >, S >
 Basic alias for basic_span with basic_offset_pointer.
 
template<typename T >
using eagine::memory::offset_span = basic_offset_span< T >
 Default alias for basic_offset_span.
 

Functions

template<typename T , typename P , typename S >
static constexpr auto eagine::memory::relative (basic_span< T, P, S > spn) noexcept -> basic_span< T, basic_offset_ptr< T, std::make_signed_t< S >>, S >
 Converts argument to span using an offset pointer type. More...
 

Detailed Description

Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt


Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).