Scarab  v3.7.1
Project 8 C++ Utility Library
Public Types | List of all members
element_type< T > Struct Template Reference

#include <CLI11.hpp>

Public Types

using type = typename std::conditional< is_copyable_ptr< T >::value, typename std::pointer_traits< T >::element_type, T >::type
 

Detailed Description

template<typename T>
struct CLI::detail::element_type< T >

Handy helper to access the element_type generically. This is not part of is_copyable_ptr because it requires that pointer_traits<T> be valid.

Definition at line 967 of file CLI11.hpp.

Member Typedef Documentation

◆ type

using type = typename std::conditional<is_copyable_ptr<T>::value, typename std::pointer_traits<T>::element_type, T>::type

Definition at line 969 of file CLI11.hpp.


The documentation for this struct was generated from the following file: