All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces
StdUtils.h File Reference

Functions pulling in STL customization if available. More...

#include "larcorealg/CoreUtils/MetaUtils.h"
#include <string>
#include <iterator>
#include <utility>

Go to the source code of this file.

Classes

struct  util::details::ToStringImpl< T, typename >
 
struct  util::details::ToStringImpl< T, std::enable_if_t< util::is_basic_string_type_v< T > > >
 
struct  util::details::ToStringImpl< T, std::enable_if_t< util::is_basic_string_view_type_v< T > > >
 

Namespaces

 util
 Namespace for general, non-LArSoft-specific utilities.
 
 util::details
 

Functions

C++ standard library customization for user-defined classes.
template<typename T >
decltype(auto) constexpr util::to_string (T &&obj)
 ADL-aware version of std::to_string. More...
 
template<typename T >
decltype(auto) constexpr util::begin (T &&obj)
 ADL-aware version of std::begin. More...
 
template<typename T >
decltype(auto) constexpr util::end (T &&obj)
 ADL-aware version of std::end. More...
 
template<typename T >
decltype(auto) constexpr util::cbegin (T &&obj)
 ADL-aware version of std::cbegin. More...
 
template<typename T >
decltype(auto) constexpr util::cend (T &&obj)
 ADL-aware version of std::cend. More...
 
template<typename T >
decltype(auto) constexpr util::size (T &&obj)
 ADL-aware version of std::size. More...
 
template<typename T >
decltype(auto) constexpr util::empty (T &&obj)
 ADL-aware version of std::empty. More...
 
template<std::size_t I, typename T >
decltype(auto) util::get (T &&obj)
 

Detailed Description

Functions pulling in STL customization if available.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
July , 2019

Definition in file StdUtils.h.