valarray_after.h File Reference

Go to the source code of this file.

Namespaces

namespace  std

Defines

#define _VALARRAY_AFTER_H   1
#define _DEFINE_EXPR_UNARY_OPERATOR(_Op, _Name)
#define _DEFINE_EXPR_BINARY_OPERATOR(_Op, _Name)
#define _DEFINE_EXPR_UNARY_FUNCTION(_Name)
#define _DEFINE_EXPR_BINARY_FUNCTION(_Fun)


Define Documentation

#define _DEFINE_EXPR_BINARY_FUNCTION _Fun   ) 
 

Definition at line 403 of file valarray_after.h.

#define _DEFINE_EXPR_BINARY_OPERATOR _Op,
_Name   ) 
 

Definition at line 286 of file valarray_after.h.

#define _DEFINE_EXPR_UNARY_FUNCTION _Name   ) 
 

Value:

template<class _Dom>                                                   \
    inline _Expr<_UnClos<__##_Name,_Expr,_Dom>,typename _Dom::value_type>\
    _Name(const _Expr<_Dom,typename _Dom::value_type>& __e)              \
    {                                                                    \
      typedef typename _Dom::value_type _Tp;                             \
      typedef _UnClos<__##_Name,_Expr,_Dom> _Closure;                    \
      return _Expr<_Closure,_Tp>(_Closure(__e()));                       \
    }                                                                    \
                                                                         \
  template<typename _Tp>                                                 \
    inline _Expr<_UnClos<__##_Name,_ValArray,_Tp>,_Tp>                   \
    _Name(const valarray<_Tp>& __v)                                      \
    {                                                                    \
      typedef _UnClos<__##_Name,_ValArray,_Tp> _Closure;                 \
      return _Expr<_Closure,_Tp>(_Closure(__v));                         \
    }

Definition at line 368 of file valarray_after.h.

#define _DEFINE_EXPR_UNARY_OPERATOR _Op,
_Name   ) 
 

Value:

template<class _Dom, typename _Tp>                                      \
    inline _Expr<_UnClos<_Name,std::_Expr,_Dom>,_Tp>                      \
    _Expr<_Dom,_Tp>::operator _Op() const                                 \
    {                                                                     \
      typedef _UnClos<_Name,std::_Expr,_Dom> _Closure;                    \
      return _Expr<_Closure,_Tp>(_Closure(this->_M_closure));             \
    }

Definition at line 270 of file valarray_after.h.

#define _VALARRAY_AFTER_H   1
 

Definition at line 38 of file valarray_after.h.


Generated on Tue Jan 30 17:31:56 2007 for GNU C++ STL by doxygen 1.3.6