ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::utility::detail_::has_overloaded_addressof< T > Struct Template Reference

#include <Optional.h>

Static Public Member Functions

template<class X >
constexpr static bool has_overload (...)
 
template<class X , size_t S = sizeof(std::declval<X&>().operator&())>
constexpr static bool has_overload (bool)
 

Static Public Attributes

constexpr static bool value = has_overload<T>(true)
 

Detailed Description

template<typename T>
struct cloudViewer::utility::detail_::has_overloaded_addressof< T >

Definition at line 94 of file Optional.h.

Member Function Documentation

◆ has_overload() [1/2]

template<typename T >
template<class X >
constexpr static bool cloudViewer::utility::detail_::has_overloaded_addressof< T >::has_overload (   ...)
inlinestaticconstexpr

Definition at line 96 of file Optional.h.

◆ has_overload() [2/2]

template<typename T >
template<class X , size_t S = sizeof(std::declval<X&>().operator&())>
constexpr static bool cloudViewer::utility::detail_::has_overloaded_addressof< T >::has_overload ( bool  )
inlinestaticconstexpr

Definition at line 101 of file Optional.h.

Member Data Documentation

◆ value

template<typename T >
constexpr static bool cloudViewer::utility::detail_::has_overloaded_addressof< T >::value = has_overload<T>(true)
staticconstexpr

Definition at line 105 of file Optional.h.


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