comparison liboctave/array/idx-vector.h @ 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 427c55a82f35
children 80e3bfb7bd5a
comparison
equal deleted inserted replaced
23533:8edbc923a7dc 23534:b6498c088fca
511 511
512 // A scalar bool does not necessarily map to scalar index. 512 // A scalar bool does not necessarily map to scalar index.
513 idx_vector (bool x) : rep (new idx_mask_rep (x)) { chkerr (); } 513 idx_vector (bool x) : rep (new idx_mask_rep (x)) { chkerr (); }
514 514
515 template <typename T> 515 template <typename T>
516 idx_vector (const Array<octave_int<T> >& nda) : rep (new idx_vector_rep (nda)) 516 idx_vector (const Array<octave_int<T>>& nda) : rep (new idx_vector_rep (nda))
517 { chkerr (); } 517 { chkerr (); }
518 518
519 idx_vector (const Array<double>& nda) : rep (new idx_vector_rep (nda)) 519 idx_vector (const Array<double>& nda) : rep (new idx_vector_rep (nda))
520 { chkerr (); } 520 { chkerr (); }
521 521