LibreOffice Module lotuswordpro (master) 1
Classes | Public Types | Static Public Member Functions | List of all members
detail::has_clone< T > Struct Template Reference

#include <clone.hxx>

Classes

struct  no
 
struct  test
 

Public Types

enum  { value = sizeof(check_sig<T>(nullptr)) == sizeof(yes) }
 
typedef char yes
 

Static Public Member Functions

template<typename U >
static yescheck_sig (U *, test< U *(U::*)() const, &U::clone > *=nullptr)
 
template<typename U >
static nocheck_sig (...)
 

Detailed Description

template<typename T>
struct detail::has_clone< T >

Definition at line 17 of file clone.hxx.

Member Typedef Documentation

◆ yes

template<typename T >
typedef char detail::has_clone< T >::yes

Definition at line 22 of file clone.hxx.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 30 of file clone.hxx.

Member Function Documentation

◆ check_sig() [1/2]

template<typename T >
template<typename U >
static no & detail::has_clone< T >::check_sig (   ...)
static

◆ check_sig() [2/2]

template<typename T >
template<typename U >
static yes & detail::has_clone< T >::check_sig ( U *  ,
test< U *(U::*)() const, &U::clone > *  = nullptr 
)
static

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