gslice_array.h File Reference

Go to the source code of this file.

Namespaces

namespace  std

Classes

class  std::gslice_array< _Tp >
 Reference to multi-dimensional subset of an array. More...

Defines

#define _GSLICE_ARRAY_H   1
#define _DEFINE_VALARRAY_OPERATOR(_Op, _Name)


Detailed Description

This is an internal header file, included by other library headers. You should not attempt to use it directly.

Definition in file gslice_array.h.


Define Documentation

#define _DEFINE_VALARRAY_OPERATOR ( _Op,
_Name   ) 

Value:

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

Definition at line 181 of file gslice_array.h.

#define _GSLICE_ARRAY_H   1

Definition at line 39 of file gslice_array.h.


Generated on Tue Feb 2 16:57:19 2010 for GNU C++ STL by  doxygen 1.4.7