class Any

Declaration

class Any { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ADT/Any.h:26

Method Overview

  • public Any()
  • public Any(const llvm::Any & Other)
  • public Any(llvm::Any && Other)
  • public template <typename T, typename std::enable_if<llvm::conjunction<llvm::negation<std::is_same<typename std::decay<T>::type, Any>>, llvm::negation<std::is_convertible<Any, typename std::decay<T>::type>>, std::is_copy_constructible<typename std::decay<T>::type>>::value, int>::type = 0> Any(T && Value)
  • public bool hasValue() const
  • public void reset()
  • public llvm::Any & swap(llvm::Any & Other)

Methods

Any()

Declared at: llvm/include/llvm/ADT/Any.h:54

Any(const llvm::Any& Other)

Declared at: llvm/include/llvm/ADT/Any.h:56

Parameters

const llvm::Any& Other

Any(llvm::Any&& Other)

Declared at: llvm/include/llvm/ADT/Any.h:84

Parameters

llvm::Any&& Other

template <
    typename T,
    typename std::enable_if<
        llvm::conjunction<
            llvm::negation<std::is_same<
                typename std::decay<T>::type,
                Any>>,
            llvm::negation<std::is_convertible<
                Any,
                typename std::decay<T>::type>>,
            std::is_copy_constructible<
                typename std::decay<T>::type>>::
            value,
        int>::type = 0>
Any(T&& Value)

Declared at: llvm/include/llvm/ADT/Any.h:79

Templates

T
typename std::enable_if::type, Any>>, llvm::negation::type>>, std::is_copy_constructible::type>>::value, int>::type = 0

Parameters

T&& Value

bool hasValue() const

Declared at: llvm/include/llvm/ADT/Any.h:96

void reset()

Declared at: llvm/include/llvm/ADT/Any.h:98

llvm::Any& swap(llvm::Any& Other)

Declared at: llvm/include/llvm/ADT/Any.h:86

Parameters

llvm::Any& Other