Audacity 3.2.0
Public Types | Static Public Member Functions | List of all members
PackedArray::detail::ExtendedTraits< T, typename > Struct Template Reference

Primary template of metafunction deducing other things from Traits<T> More...

#include <PackedArray.h>

Inheritance diagram for PackedArray::detail::ExtendedTraits< T, typename >:
[legend]
Collaboration diagram for PackedArray::detail::ExtendedTraits< T, typename >:
[legend]

Public Types

using element_type = typename Traits< T >::element_type
 
using iterated_type = T
 
- Public Types inherited from PackedArray::Traits< T >
using element_type = T
 

Static Public Member Functions

static iterated_typebegin (T *p)
 
static element_typeelement_ptr (T *p)
 
static size_t element_offset ()
 

Detailed Description

template<typename T, typename = void>
struct PackedArray::detail::ExtendedTraits< T, typename >

Primary template of metafunction deducing other things from Traits<T>

Definition at line 26 of file PackedArray.h.

Member Typedef Documentation

◆ element_type

template<typename T , typename = void>
using PackedArray::detail::ExtendedTraits< T, typename >::element_type = typename Traits<T>::element_type

Definition at line 27 of file PackedArray.h.

◆ iterated_type

template<typename T , typename = void>
using PackedArray::detail::ExtendedTraits< T, typename >::iterated_type = T

Definition at line 28 of file PackedArray.h.

Member Function Documentation

◆ begin()

template<typename T , typename = void>
static iterated_type * PackedArray::detail::ExtendedTraits< T, typename >::begin ( T *  p)
inlinestatic

Definition at line 29 of file PackedArray.h.

29{ return p; }

Referenced by PackedArray::detail::ExtendedTraits< T, std::void_t< decltype(std::declval< T >().*(Traits< T >::array_member))> >::element_offset(), and PackedArray::detail::ExtendedTraits< T, std::void_t< decltype(std::declval< T >().*(Traits< T >::array_member))> >::element_ptr().

Here is the caller graph for this function:

◆ element_offset()

template<typename T , typename = void>
static size_t PackedArray::detail::ExtendedTraits< T, typename >::element_offset ( )
inlinestatic

Definition at line 31 of file PackedArray.h.

31{ return 0; }

Referenced by PackedArray::Deleter< Type, BaseDeleter >::Deleter().

Here is the caller graph for this function:

◆ element_ptr()

template<typename T , typename = void>
static element_type * PackedArray::detail::ExtendedTraits< T, typename >::element_ptr ( T *  p)
inlinestatic

Definition at line 30 of file PackedArray.h.

30{ return p; }

Referenced by PackedArray::Deleter< Type, BaseDeleter >::operator()().

Here is the caller graph for this function:

The documentation for this struct was generated from the following file: