Mercurial > octave
diff libinterp/octave-value/ov.cc @ 23534:b6498c088fca
maint: Don't write '> >' for declaration of templates that use templates.
C++11 parser allows more readable "template1<template2<TYPENAME>>" syntax
rather than "template1<template2<TYPENAME> >".
* cellfun.cc, data.cc, oct-stream.cc, octave-link.h, pr-output.cc, sqrtm.cc,
symtab.cc, symtab.h, tril.cc, ov-cell.h, ov-classdef.cc, ov-classdef.h,
ov-intx.h, ov.cc, bp-table.h, jit-typeinfo.h, jit-util.h, pt-jit.h,
CColVector.cc, CMatrix.cc, CNDArray.cc, CRowVector.cc, MatrixType.cc,
Sparse.cc, fCColVector.cc, fCMatrix.cc, fCNDArray.cc, fCRowVector.cc,
idx-vector.h, lo-traits.h: Replace '> >' with '>>' for double templates.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 27 May 2017 09:59:32 -0700 |
parents | c6714ae1c06c |
children | 00e518162fda |
line wrap: on
line diff
--- a/libinterp/octave-value/ov.cc Thu May 25 13:13:17 2017 -0400 +++ b/libinterp/octave-value/ov.cc Sat May 27 09:59:32 2017 -0700 @@ -1767,7 +1767,7 @@ template <typename T> static Array<int> -convert_to_int_array (const Array<octave_int<T> >& A) +convert_to_int_array (const Array<octave_int<T>>& A) { Array<int> retval (A.dims ()); octave_idx_type n = A.numel (); @@ -1836,7 +1836,7 @@ template <typename T> static Array<octave_idx_type> -convert_to_octave_idx_type_array (const Array<octave_int<T> >& A) +convert_to_octave_idx_type_array (const Array<octave_int<T>>& A) { Array<octave_idx_type> retval (A.dims ()); octave_idx_type n = A.numel ();