Classes | Functions
phot::details Namespace Reference

Classes

struct  enable_if_t< util::always_true_v< decltype( generic_size(std::declval< Cont >()) )> >
 
struct  enable_if_t< util::always_true_v< decltype( std::declval< Cont const >().empty() )> >
 
struct  enable_if_t< util::always_true_v< decltype( std::declval< Cont const >().is_valid() )> >
 
struct  enable_if_t< util::always_true_v< decltype( std::declval< Cont const >().isValid() )> >
 
struct  LibraryDataValidatorStructStandardImpl
 
struct  LibraryDataValidatorStructStandardImpl_empty
 
struct  LibraryDataValidatorStructStandardImpl_is_valid
 
struct  LibraryDataValidatorStructStandardImpl_isValid
 
struct  LibraryDataValidatorStructStandardImpl_pointer
 
struct  LibraryDataValidatorStructStandardImpl_pointer < Cont, std::enable_if_t< std::is_pointer_v< std::decay_t< Cont > > > >
 
struct  LibraryDataValidatorStructStandardImpl_pointer_branch
 
struct  LibraryDataValidatorStructStandardImpl_pointer_branch< T * >
 
struct  LibraryDataValidatorStructStandardImpl_pointer_branch< T[]>
 
struct  LibraryDataValidatorStructStandardImpl_pointer_branch< T[N]>
 
struct  LibraryDataValidatorStructStandardImpl_size
 
struct  LibraryDataValidatorStructStandardImpl_unique_ptr
 
struct  LibraryDataValidatorStructStandardImpl_unique_ptr < Cont, std::enable_if_t< util::is_unique_ptr_v< Cont > > >
 

Functions

template<typename Cont >
auto generic_size (Cont &&cont)
 

Function Documentation

template<typename Cont >
auto phot::details::generic_size ( Cont &&  cont)

Definition at line 244 of file OpDetVisibilityData.h.

245  { using std::size; return size(std::forward<Cont>(cont)); }
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:92