Make ConstArrayRef alias to ArrayRef<const T>
authorRoland Schulz <roland.schulz@intel.com>
Wed, 4 Oct 2017 00:32:25 +0000 (17:32 -0700)
committerRoland Schulz <roland.schulz@intel.com>
Thu, 5 Oct 2017 19:47:53 +0000 (21:47 +0200)
commite9d54782b866c6167de38b1562da81c8e32ffda4
treec384ad962506fad2c112a1fe3b27eb94b5656d73
parent1f5c9496a0250a15d1f1b9640832dc5244305e7e
Make ConstArrayRef alias to ArrayRef<const T>

Removes code duplication and makes it easier to extend.

Change-Id: I4ac01e3be89bb9f2ad92937ce19e436ac7f1178b
12 files changed:
src/gromacs/commandline/cmdlinehelpwriter.cpp
src/gromacs/commandline/cmdlinehelpwriter.h
src/gromacs/commandline/cmdlineoptionsmodule.h
src/gromacs/options/filenameoption.h
src/gromacs/selection/tests/toputils.h
src/gromacs/trajectoryanalysis/analysissettings.h
src/gromacs/utility.h
src/gromacs/utility/arrayref.h
src/gromacs/utility/stringstream.cpp
src/gromacs/utility/stringstream.h
src/gromacs/utility/tests/arrayref.cpp
src/testutils/cmdlinetest.h