Public Member Functions | Private Attributes | List of all members
any_container< T > Class Template Reference

#include <common.h>

Public Member Functions

 any_container ()=default
 
template<typename It , typename = enable_if_t<is_input_iterator<It>::value>>
 any_container (It first, It last)
 
template<typename Container , typename = enable_if_t< std::is_convertible<decltype(*std::begin(std::declval<const Container &>())), T>::value>>
 any_container (const Container &c)
 
template<typename TIn , typename = enable_if_t<std::is_convertible<TIn, T>::value>>
 any_container (const std::initializer_list< TIn > &c)
 
 any_container (std::vector< T > &&v)
 
 operator std::vector< T > && () &&
 
std::vector< T > & operator* ()
 
const std::vector< T > & operator* () const
 
std::vector< T > * operator-> ()
 
const std::vector< T > * operator-> () const
 

Private Attributes

std::vector< Tv
 

Detailed Description

template<typename T>
class any_container< T >

Definition at line 1063 of file wrap/pybind11/include/pybind11/detail/common.h.

Constructor & Destructor Documentation

◆ any_container() [1/5]

template<typename T>
any_container< T >::any_container ( )
default

◆ any_container() [2/5]

template<typename T>
template<typename It , typename = enable_if_t<is_input_iterator<It>::value>>
any_container< T >::any_container ( It  first,
It  last 
)
inline

◆ any_container() [3/5]

template<typename T>
template<typename Container , typename = enable_if_t< std::is_convertible<decltype(*std::begin(std::declval<const Container &>())), T>::value>>
any_container< T >::any_container ( const Container &  c)
inline

◆ any_container() [4/5]

template<typename T>
template<typename TIn , typename = enable_if_t<std::is_convertible<TIn, T>::value>>
any_container< T >::any_container ( const std::initializer_list< TIn > &  c)
inline

◆ any_container() [5/5]

template<typename T>
any_container< T >::any_container ( std::vector< T > &&  v)
inline

Member Function Documentation

◆ operator std::vector< T > &&()

template<typename T>
any_container< T >::operator std::vector< T > && ( ) &&
inline

◆ operator*() [1/2]

template<typename T>
std::vector<T>& any_container< T >::operator* ( )
inline

◆ operator*() [2/2]

template<typename T>
const std::vector<T>& any_container< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<typename T>
std::vector<T>* any_container< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename T>
const std::vector<T>* any_container< T >::operator-> ( ) const
inline

Member Data Documentation

◆ v

template<typename T>
std::vector<T> any_container< T >::v
private

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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:59