Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Teuchos::ArrayView< const T > Class Template Reference

Partial specialization of ArrayView for const T. More...

#include <Teuchos_ArrayViewDecl.hpp>

Public Member Functions

ArrayView< const T > getConst () const
 Return a const view of *this. More...

Detailed Description

template<class T>
class Teuchos::ArrayView< const T >

Partial specialization of ArrayView for const T.

The main documentation for ArrayView explains why this class needs a partial specialization for const types.

Definition at line 433 of file Teuchos_ArrayViewDecl.hpp.

Member Function Documentation

template<class T >
ArrayView< const T > Teuchos::ArrayView< const T >::getConst ( ) const

Return a const view of *this.

This object is already const (this is a specialization for const T), so this method is trivial; it just returns *this.

Definition at line 465 of file Teuchos_ArrayView.hpp.

The documentation for this class was generated from the following files: