![]() |
ATLAS Offline Software
|
Add to a range class conversions to containers. More...
#include <range_with_conv.h>
Public Types | |
using | Elt_t = std::ranges::range_value_t< RANGE > |
Public Member Functions | |
template<template< class, class > class CONT, class ALLOC > | |
operator CONT< Elt_t, ALLOC > () const | |
Implicit conversion of the range to a container. More... | |
std::vector< Elt_t > | asVector () const |
Explicit conversion to a vector. More... | |
Add to a range class conversions to containers.
Definition at line 28 of file range_with_conv.h.
using CxxUtils::range_with_conv< RANGE >::Elt_t = std::ranges::range_value_t<RANGE> |
Definition at line 33 of file range_with_conv.h.
|
inline |
Explicit conversion to a vector.
For use from Python.
Definition at line 49 of file range_with_conv.h.
|
inline |
Implicit conversion of the range to a container.
Definition at line 40 of file range_with_conv.h.