Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Attributes
ext::has_clone< T > Struct Template Reference

Type trait to determine existence of clone method. A boolean field namd value is set to true if provided class (possibly cv-qualified and via reference) has clone method. More...

#include <type_traits.hpp>

Static Public Attributes

static const bool value = decltype ( has_clone::test ( std::declval < std::decay_t < T > * > ( ) ) )::value
 True if the type decayed type T has clone method. More...
 

Detailed Description

template<class T>
struct ext::has_clone< T >

Type trait to determine existence of clone method. A boolean field namd value is set to true if provided class (possibly cv-qualified and via reference) has clone method.

Template Parameters
thetype to examine

Field Documentation

◆ value

template<class T >
const bool ext::has_clone< T >::value = decltype ( has_clone::test ( std::declval < std::decay_t < T > * > ( ) ) )::value
static

True if the type decayed type T has clone method.


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