mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9845 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6a7625a282
commit
8f16bcc58a
3 changed files with 9 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue