STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros | Functions
xrefwrap File Reference

Classes

class  reference_wrapper< _Ty >
 
struct  _Fun_class_base< _Ret, _Types >
 
struct  _Fun_class_base< _Ret, _Farg0 >
 
struct  _Fun_class_base< _Ret, _Farg0, _Farg1 >
 
struct  _Fun_class_base< _Ret, _Farg0, _Farg1, _Types...>
 
struct  _Result_of< _Fty, _Args >
 
struct  _Result_of< _Ret _Ty::*, _Obj, _Args...>
 
struct  _Result_of< _Ret _Ty::*const, _Obj, _Args...>
 
struct  result_of< _Fty >
 
struct  _Pmd_caller< _Ret, _Arg0 >
 
struct  _Callable_base< _Ty, _Indirect >
 
struct  _Callable_base< _Ty, false >
 
struct  _Callable_base< _Ty, true >
 
struct  _Callable_pmd< _Ty, _Memty, _Indirect >
 
struct  _Callable_obj< _Ty, _Indirect >
 
struct  _Pmf_caller< _Ret, _Arg0 >
 
struct  _Callable_pmf< _Ty, _Memty, _Indirect >
 
struct  _Callable_fun< _Ty, _Indirect >
 
struct  _Call_wrapper_base< _Callable >
 
struct  _Call_wrapper< _Callable, _Is_abstract >
 
struct  _Call_wrapper< _Callable, true >
 
struct  _Refwrap_result0< _Ty, bool >
 
struct  _Refwrap_result0< _Ty, false >
 
struct  _Refwrap_result1_helper< _Ty, bool >
 
struct  _Refwrap_result1_helper< _Ty, true >
 
struct  _Refwrap_result1< _Ty, bool >
 
struct  _Refwrap_result1< _Ty, true >
 
struct  _Refwrap_result2_helper< _Ty, bool >
 
struct  _Refwrap_result2_helper< _Ty, true >
 
struct  _Refwrap_result2< _Ty, bool >
 
struct  _Refwrap_result2< _Ty, true >
 
struct  _Refwrap_impl< _Ty >
 
struct  _Refwrap_impl< _Rx _Arg0::* >
 
struct  _Refwrap_impl< _Rx _Arg0::*const >
 
class  reference_wrapper< _Ty >
 

Namespaces

 tr1
 

Macros

#define _XREFWRAP_
 
#define _RESULT_OF_PMF(CALL_OPT, CONST_OPT, CV_OPT)
 
#define _RESULT_OF(CALL_OPT, X1)
 
#define _REFWRAP_IMPL_FUN(CALL_OPT, X1)
 
#define _REFWRAP_IMPL_PF(CALL_OPT, CONST_OPT)
 
#define _REFWRAP_IMPL_PMF(CALL_OPT, CONST_OPT, CV_OPT)
 

Functions

template<class _Ty >
struct _Has_result_and_arg_type _HAS_TYPES (argument_type, result_type, result_type)
 
template<class _Ty >
struct _Has_result_and_2arg_type _HAS_TYPES (first_argument_type, second_argument_type, result_type)
 
template<class _Ty >
reference_wrapper< _Ty > ref (_Ty &_Val) _NOEXCEPT
 
template<class _Ty >
void ref (const _Ty &&)=delete
 
template<class _Ty >
reference_wrapper< _Ty > ref (reference_wrapper< _Ty > _Val) _NOEXCEPT
 
template<class _Ty >
reference_wrapper< const _Ty > cref (const _Ty &_Val) _NOEXCEPT
 
template<class _Ty >
void cref (const _Ty &&)=delete
 
template<class _Ty >
reference_wrapper< const _Ty > cref (reference_wrapper< _Ty > _Val) _NOEXCEPT
 

Macro Definition Documentation

#define _REFWRAP_IMPL_FUN (   CALL_OPT,
  X1 
)
Value:
template<class _Rx, \
class... _Types> \
struct _Refwrap_impl<_Rx CALL_OPT (_Types...)> \
_Rx(CALL_OPT *)(_Types...), false> >, \
_Fun_class_base<_Rx, _Types...> \
{ /* implement for function */ \
typedef _Rx(CALL_OPT *_Fty)(_Types...); \
typedef _Rx result_type; \
_Refwrap_impl(_Fty _Val) \
{ /* construct */ \
} \
};
Definition: xrefwrap:365
Definition: xrefwrap:547
Definition: xrefwrap:420
_FwdIt const _Ty _Val
Definition: algorithm:1938
#define _REFWRAP_IMPL_PF (   CALL_OPT,
  CONST_OPT 
)
Value:
template<class _Rx, \
class... _Types> \
struct _Refwrap_impl<_Rx(CALL_OPT *CONST_OPT)(_Types...)> \
_Rx(CALL_OPT *CONST_OPT)(_Types...), true> >, \
_Fun_class_base<_Rx, _Types...> \
{ /* implement for CONST_OPT pointer to function */ \
typedef _Rx(CALL_OPT *CONST_OPT _Fty)(_Types...); \
typedef _Rx result_type; \
_Refwrap_impl(_Fty& _Val) \
{ /* construct */ \
} \
};
Definition: xrefwrap:365
Definition: xrefwrap:547
Definition: xrefwrap:420
_FwdIt const _Ty _Val
Definition: algorithm:1938
#define _REFWRAP_IMPL_PMF (   CALL_OPT,
  CONST_OPT,
  CV_OPT 
)
Value:
template<class _Rx, \
class _Arg0, \
class... _Types> \
struct _Refwrap_impl<_Rx(CALL_OPT _Arg0::* CONST_OPT)(_Types...) CV_OPT> \
_Rx(CALL_OPT _Arg0::* CONST_OPT)(_Types...) CV_OPT, \
_Arg0, true> >, \
_Fun_class_base<_Rx, CV_OPT _Arg0 *, _Types...> \
{ /* implement for pointer to member function */ \
typedef _Rx(CALL_OPT _Arg0::* CONST_OPT _Fty)(_Types...) CV_OPT; \
typedef _Rx result_type; \
_Refwrap_impl(_Fty& _Val) \
{ /* construct */ \
} \
};
Definition: xrefwrap:547
Definition: xrefwrap:339
Definition: xrefwrap:420
_FwdIt const _Ty _Val
Definition: algorithm:1938
#define _RESULT_OF (   CALL_OPT,
  X1 
)
Value:
template<class _Fty, \
class... _Args> \
struct result_of<_Fty CALL_OPT (_Args...)> \
{ /* template to determine result of call operation */ \
typedef typename _Result_of<_Fty, _Args...>::type type; \
}; \
template<class _Fty, \
class... _Args> \
struct result_of<reference_wrapper<_Fty> CALL_OPT (_Args...)> \
{ /* template to determine result of call operation */ \
typedef typename _Result_of<_Fty, _Args...>::type type; \
};
Definition: xrefwrap:18
Definition: xrefwrap:55
Definition: xrefwrap:102
#define _RESULT_OF_PMF (   CALL_OPT,
  CONST_OPT,
  CV_OPT 
)
Value:
template<class _Ret, \
class _Ty, \
class... _Mfargs, \
class _Obj, \
class... _Args> \
struct _Result_of<_Ret (CALL_OPT _Ty::* CONST_OPT)(_Mfargs...) CV_OPT, \
_Obj, _Args...> \
{ /* template to determine result of call operation */ \
/* on pointer to member function */ \
typedef _Ret type; \
};
Definition: xrefwrap:55
#define _XREFWRAP_

Function Documentation

template<class _Ty >
struct _Has_result_and_arg_type _HAS_TYPES ( argument_type  ,
result_type  ,
result_type   
)
template<class _Ty >
struct _Has_result_and_2arg_type _HAS_TYPES ( first_argument_type  ,
second_argument_type  ,
result_type   
)
template<class _Ty >
reference_wrapper<const _Ty> cref ( const _Ty &  _Val)
709  { // create reference_wrapper<const _Ty> object
711  }
Definition: xrefwrap:18
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Ty >
void cref ( const _Ty &&  )
delete
template<class _Ty >
reference_wrapper<const _Ty> cref ( reference_wrapper< _Ty >  _Val)
719  { // create reference_wrapper<const _Ty> object
720  return (reference_wrapper<const _Ty>(_Val.get()));
721  }
Definition: xrefwrap:18
_Ty & get() const _NOEXCEPT
Definition: xrefwrap:680
template<class _Ty >
reference_wrapper<_Ty> ref ( _Ty &  _Val)
692  { // create reference_wrapper<_Ty> object
693  return (reference_wrapper<_Ty>(_Val));
694  }
Definition: xrefwrap:18
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Ty >
void ref ( const _Ty &&  )
delete
template<class _Ty >
reference_wrapper<_Ty> ref ( reference_wrapper< _Ty >  _Val)
702  { // create reference_wrapper<_Ty> object
703  return (_Val);
704  }