Boost.Multi

    • Introduction
    • Installation
    • Getting Started
    • Advanced Usage
      • Motivation
      • Manipulate your Memory with Array References
      • Initialize your Arrays
      • Copy your Arrays through Assignment
      • Change the Size of your Arrays
      • Iterate over your Arrays
      • Indexing rather than Iterating
      • Access the Elements and Subarrays
      • Slice and Stride your Arrays
      • Change Types with Conversions
      • Avoid Pitfalls of Uninitialized Elements
      • Disallowing Mutation of your Arrays
      • Addressing Subarrays
      • Compile-time Evaluation
      • Lazy Evaluation with Restrictions
      • Elementwise Expressions
      • Performance Portability for your Arrays
    • Interoperability
      • Standard Library (STL Algorithms)
      • Range-v3
      • Serialization
      • Boost.Interprocess
      • CUDA via Thrust
      • OpenMP via Thrust
      • CUDA C++ kernels
      • SYCL
      • HPX
      • Pretty Printing with {fmt}
      • Python with cppjit
      • Legacy Libraries via C-APIs
    • Reference of Types and Concepts
      • Subarrays
      • Array References
      • Dynamic Arrays
      • Arrays
      • Restrictions
      • Iterators
      • Cursors
    • API Reference (auto-generated)
    • How-To Guides
      • How to Fill Elements of an Array with a Constant Value?
      • How to Reduce the Rows of an Array?
      • How to Serialize and Deserialize an Array?
    • Technical Points
      • Indexing with Square Brackets
      • Thread Safety Guarantees
      • Out-of-bounds Pointer Formation in the Abstract Machine
      • Can I Change the Dimensionality of an Array Dynamically?
      • Why Is the Array’s Dimensionality Hardcoded, While the Array’s Sizes Can Be Defined at Runtime?
      • Why Is the C++17 Standard Chosen as the Minimum?
      • Type Requirements
        • Linear Sequences: Pointers
        • Special Memory: Pointers and Views
        • Transformed Views
    • Appendix
      • Comparison to Other Array Libraries
      • Multi for Fortran Programmers
      • Multi for APL Programmers
      • Multi for NumPy Programmers
  • boost::multi::subarray::element_ptr
arrow_upward

boost::multi::subarray::element_ptr

Element pointer type (generally T*)

Synopsis

Declared in <boost/multi/array_ref.hpp>

using typename const_subarray<T, D, ElementPtr, Layout>::element_ptr;

Created with MrDocs

Edit this Page