comparison liboctave/intNDArray.h @ 14128:6258e5cd0f56 stable

Use typename keyword to refer to templates * DiagArray2.h: Disambiguate a template declaration with typename * intNDArray.h: Ditto
author Elias Pipping <pipping@exherbo.org>
date Sun, 01 Jan 2012 13:51:22 -0500
parents 12df7854fa7c
children 72c96de7a403
comparison
equal deleted inserted replaced
14127:b5e819930fd5 14128:6258e5cd0f56
31 class 31 class
32 intNDArray : public MArray<T> 32 intNDArray : public MArray<T>
33 { 33 {
34 public: 34 public:
35 35
36 using MArray<T>::element_type; 36 using typename MArray<T>::element_type;
37 37
38 intNDArray (void) : MArray<T> () { } 38 intNDArray (void) : MArray<T> () { }
39 39
40 intNDArray (T val) : MArray<T> (dim_vector (1, 1), val) { } 40 intNDArray (T val) : MArray<T> (dim_vector (1, 1), val) { }
41 41