slice_array.h File Reference

Go to the source code of this file.

Namespaces

namespace  std

Classes

class  std::slice
 Class defining one-dimensional subset of an array. More...
class  std::slice_array< _Tp >
 Reference to one-dimensional subset of an array. More...

Defines

#define _SLICE_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 slice_array.h.


Define Documentation

#define _DEFINE_VALARRAY_OPERATOR ( _Op,
_Name   ) 

Value:

template<typename _Tp>                      \
    inline void                             \
    slice_array<_Tp>::operator _Op##=(const valarray<_Tp>& __v) const   \
    {                                   \
      _Array_augmented_##_Name(_M_array, _M_sz, _M_stride, _Array<_Tp>(__v));\
    }                                   \
                                    \
  template<typename _Tp>                                                \
    template<class _Dom>                                \
      inline void                           \
      slice_array<_Tp>::operator _Op##=(const _Expr<_Dom,_Tp>& __e) const\
      {                                 \
      _Array_augmented_##_Name(_M_array, _M_stride, __e, _M_sz);    \
      }

Definition at line 237 of file slice_array.h.

#define _SLICE_ARRAY_H   1

Definition at line 39 of file slice_array.h.


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