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 809 of file wrap/pybind11/include/pybind11/detail/common.h.

Constructor & Destructor Documentation

template<typename T>
any_container< T >::any_container ( )
default
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
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
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
template<typename T>
any_container< T >::any_container ( std::vector< T > &&  v)
inline

Member Function Documentation

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

Member Data Documentation

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 Sat May 8 2021 02:51:44