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

offset_ptr.hpp
Go to the documentation of this file.
1 
9 #ifndef EAGINE_OFFSET_PTR_HPP
10 #define EAGINE_OFFSET_PTR_HPP
11 
12 #include "memory/offset_ptr.hpp"
13 
14 namespace eagine {
15 //------------------------------------------------------------------------------
16 using memory::basic_offset_ptr;
17 //------------------------------------------------------------------------------
18 template <typename Pointee>
19 using offset_ptr = basic_offset_ptr<Pointee, std::ptrdiff_t>;
20 //------------------------------------------------------------------------------
21 template <typename Pointee>
22 using short_offset_ptr = basic_offset_ptr<Pointee, short>;
23 //------------------------------------------------------------------------------
24 } // namespace eagine
25 
26 #endif // EAGINE_OFFSET_PTR_HPP
Common code is placed in this namespace.
Definition: eagine.hpp:21
basic_offset_ptr< Pointee, short > short_offset_ptr
Type alias for basic offset pointer with short offset.
Definition: offset_ptr.hpp:303
basic_offset_ptr< Pointee, std::ptrdiff_t > offset_ptr
Default type alias for basic offset pointer.
Definition: offset_ptr.hpp:298

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