STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
mask_array.h File Reference

Go to the source code of this file.

Macros

#define _DEFINE_VALARRAY_OPERATOR(_Op, _Name)
 

Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. {valarray}

Macro Definition Documentation

#define _DEFINE_VALARRAY_OPERATOR (   _Op,
  _Name 
)
Value:
template<typename _Tp> \
inline void \
mask_array<_Tp>::operator _Op##=(const valarray<_Tp>& __v) const \
{ \
_Array_augmented_##_Name(_M_array, _M_mask, \
_Array<_Tp>(__v), __v.size()); \
} \
\
template<typename _Tp> \
template<class _Dom> \
inline void \
mask_array<_Tp>::operator _Op##=(const _Expr<_Dom, _Tp>& __e) const\
{ \
_Array_augmented_##_Name(_M_array, _M_mask, __e, __e.size()); \
}