Project
Loading...
Searching...
No Matches
StaticSequenceAllocator.h File Reference

An allocator for static sequences of object types. More...

Go to the source code of this file.

Classes

struct  o2::algorithm::Composite< HeaderT, TrailerT >
 
struct  o2::algorithm::StaticSequenceAllocator
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::algorithm
 

Functions

template<typename T , typename... TArgs>
constexpr size_t o2::algorithm::sequenceLength (const T &first, const TArgs... args) noexcept
 
template<typename T >
constexpr size_t o2::algorithm::sequenceLength (const T &first) noexcept
 
template<typename BufferT , typename T , typename... TArgs>
constexpr size_t o2::algorithm::sequenceInsert (BufferT *buffer, const T &first, const TArgs... args) noexcept
 recursive insert of variable number of objects
 
template<typename BufferT , typename T >
constexpr size_t o2::algorithm::sequenceInsert (BufferT *buffer, const T &element) noexcept
 terminating template specialization, i.e. for the last element
 

Detailed Description

An allocator for static sequences of object types.

Author
Matthias Richter, based on work by Mikolaj Krzewicki
Since
2017-09-21

Definition in file StaticSequenceAllocator.h.