17 namespace TrackFindingCDC {
42 operator T
const& ()
const&
54 typename std::remove_pointer<T>::type&
operator*()
const
77 template<
class T,
bool a_isScalar = false>
Class wrapping a scalar type (for which std::is_scalar is true).
bool operator<(const Scalar< T > &rhs) const
Transport ordering.
T m_obj
Memory for the underlying scalar type.
bool operator==(const Scalar< T > &rhs) const
Transport equality.
std::remove_pointer< T >::type & operator*() const
Dereferencing access for the case that T is a pointer.
T operator->() const
Mimic the original item pointer access for the cast that T is a pointer.
Scalar(T obj)
Wrap scalar type as an object.
Abstract base class for different kinds of events.
Helper type function to replace a T with Scalar<T> when std::is_scalar<T>.
T type
Base implementation just forwards the original type.