.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@9845 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-05-20 08:02:22 +00:00
parent 6a7625a282
commit 8f16bcc58a
3 changed files with 9 additions and 4 deletions

View file

@ -45,6 +45,12 @@ auto SubRange(C& c, int pos, int count) -> decltype(SubRange(c.begin() + pos, co
return SubRange(c.begin() + pos, count);
}
template <class C>
auto SubRange(const C& c, int pos, int count) -> decltype(SubRange(c.begin() + pos, count))
{
return SubRange(c.begin() + pos, count);
}
template <class T>
struct ConstRangeClass {
T value;