Skip to content

scram::mef::detail::container_of_impl

Implementation of container_of to deal w/ empty type list. More...

Public Types

Name
using std::conditional_t< std::is_same_v< E, typename T::ElementType >, T, typename container_of_impl< E, Ts... >::type >type <br>The type of the container with elements of type T.

Detailed Description

cpp
template <class E ,
class T ,
class... Ts>
struct scram::mef::detail::container_of_impl;

Implementation of container_of to deal w/ empty type list.

Public Types Documentation

using type

cpp
using scram::mef::detail::container_of_impl< E, T, Ts >::type =  std::conditional_t<std::is_same_v<E, typename T::ElementType>, T, typename container_of_impl<E, Ts...>::type>;

The type of the container with elements of type T.


Updated on 2025-11-11 at 16:51:08 +0000