 |
Belle II Software
release-05-01-25
|
12 #include <type_traits>
19 namespace TrackFindingCDC {
44 operator T
const& ()
const&
56 typename std::remove_pointer<T>::type&
operator*()
const
79 template<
class T,
bool a_isScalar = false>
bool operator<(const Scalar< T > &rhs) const
Transport ordering.
T operator->() const
Mimic the original item pointer access for the cast that T is a pointer.
T type
Base implementation just forwards the original type.
T m_obj
Memory for the underlying scalar type.
Abstract base class for different kinds of events.
Helper type function to replace a T with Scalar<T> when std::is_scalar<T>.
Scalar(T obj)
Wrap scalar type as an object.
bool operator==(const Scalar< T > &rhs) const
Transport equality.
Class wrapping a scalar type (for which std::is_scalar is true).
std::remove_pointer< T >::type & operator*() const
Dereferencing access for the case that T is a pointer.