Classes | Namespaces | Functions
operations.h File Reference

Provides a few simple operations for use in generic programming. More...

#include <memory>

Go to the source code of this file.

Classes

struct  util::AddressTaker
 Functor returning the address in memory of the operand. More...
 
struct  util::Dereferencer
 Functor dereferencing the operand. More...
 

Namespaces

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

Functions

decltype(auto) util::takeAddress ()
 Returns a functor that returns the address of its argument. More...
 
decltype(auto) util::dereference ()
 Returns a functor that returns *ptr of its argument ptr. More...
 

Detailed Description

Provides a few simple operations for use in generic programming.

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

This is a header-only library.

Definition in file operations.h.