Public Types | Public Member Functions | Private Types | List of all members
iterator_key_access< Iterator, SFINAE > Class Template Reference

#include <pybind11.h>

Public Types

using result_type = conditional_t< std::is_reference< decltype(*std::declval< Iterator & >())>::value, decltype(((*std::declval< Iterator & >()).first)), decltype(std::declval< pair_type >().first)>
 

Public Member Functions

result_type operator() (Iterator &it) const
 

Private Types

using pair_type = decltype(*std::declval< Iterator & >())
 

Detailed Description

template<typename Iterator, typename SFINAE = decltype((*std::declval<Iterator &>()).first)>
class iterator_key_access< Iterator, SFINAE >

Definition at line 2296 of file pybind11.h.

Member Typedef Documentation

◆ pair_type

template<typename Iterator , typename SFINAE = decltype((*std::declval<Iterator &>()).first)>
using iterator_key_access< Iterator, SFINAE >::pair_type = decltype(*std::declval<Iterator &>())
private

Definition at line 2298 of file pybind11.h.

◆ result_type

template<typename Iterator , typename SFINAE = decltype((*std::declval<Iterator &>()).first)>
using iterator_key_access< Iterator, SFINAE >::result_type = conditional_t<std::is_reference<decltype(*std::declval<Iterator &>())>::value, decltype(((*std::declval<Iterator &>()).first)), decltype(std::declval<pair_type>().first)>

Definition at line 2313 of file pybind11.h.

Member Function Documentation

◆ operator()()

template<typename Iterator , typename SFINAE = decltype((*std::declval<Iterator &>()).first)>
result_type iterator_key_access< Iterator, SFINAE >::operator() ( Iterator &  it) const
inline

Definition at line 2314 of file pybind11.h.


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


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