LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
phot::details Namespace Reference

Classes

struct  LibraryDataValidatorStructStandardImpl
 
struct  LibraryDataValidatorStructStandardImpl_empty
 
struct  enable_if_t< util::always_true_v< decltype(std::declval< Cont const >().empty())> >
 
struct  LibraryDataValidatorStructStandardImpl_is_valid
 
struct  enable_if_t< util::always_true_v< decltype(std::declval< Cont const >().is_valid())> >
 
struct  LibraryDataValidatorStructStandardImpl_isValid
 
struct  enable_if_t< util::always_true_v< decltype(std::declval< Cont const >().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  enable_if_t< util::always_true_v< decltype(generic_size(std::declval< Cont >()))> >
 
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 225 of file OpDetVisibilityData.h.

References util::size(), and util::MappedContainer< Cont, Mapping >::size().

Referenced by phot::details::enable_if_t< util::always_true_v< decltype(generic_size(std::declval< Cont >()))> >::isValid().

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