CLI11
C++11 Command Line Interface Parser
Public Types | List of all members
CLI::detail::element_type< T > Struct Template Reference

#include <TypeTools.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.


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