Teuchos - Trilinos Tools Package
Version of the Day
|
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... | |
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.
|
inline |
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.