Open3D (C++ API)  0.18.0+3975044
Static Public Attributes
open3d::core::CalculateSmallVectorDefaultInlinedElements< T > Struct Template Reference

#include <SmallVector.h>

Static Public Attributes

static constexpr size_t kPreferredSmallVectorSizeof = 64
 
static constexpr size_t PreferredInlineBytes
 
static constexpr size_t NumElementsThatFit
 
static constexpr size_t value
 

Detailed Description

template<typename T>
struct open3d::core::CalculateSmallVectorDefaultInlinedElements< T >

Helper class for calculating the default number of inline elements for SmallVector<T>.

This should be migrated to a constexpr function when our minimum compiler support is enough for multi-statement constexpr functions.

Field Documentation

◆ kPreferredSmallVectorSizeof

template<typename T >
constexpr size_t open3d::core::CalculateSmallVectorDefaultInlinedElements< T >::kPreferredSmallVectorSizeof = 64
staticconstexpr

◆ NumElementsThatFit

template<typename T >
constexpr size_t open3d::core::CalculateSmallVectorDefaultInlinedElements< T >::NumElementsThatFit
staticconstexpr
Initial value:
=
static constexpr size_t PreferredInlineBytes
Definition: SmallVector.h:1234

◆ PreferredInlineBytes

template<typename T >
constexpr size_t open3d::core::CalculateSmallVectorDefaultInlinedElements< T >::PreferredInlineBytes
staticconstexpr
Initial value:
=
kPreferredSmallVectorSizeof - sizeof(SmallVector<T, 0>)
static constexpr size_t kPreferredSmallVectorSizeof
Definition: SmallVector.h:1199

◆ value

template<typename T >
constexpr size_t open3d::core::CalculateSmallVectorDefaultInlinedElements< T >::value
staticconstexpr
Initial value:
=
static constexpr size_t NumElementsThatFit
Definition: SmallVector.h:1236

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