source:
dev/trunk/ab5.0/jenga/include/common/VectorSupporter.h
Last change on this file was 829, checked in by , 12 years ago | |
---|---|
|
|
File size: 149 bytes |
Line | |
---|---|
1 | #pragma once |
2 | |
3 | namespace Jenga{ |
4 | namespace Common{ |
5 | |
6 | |
7 | template<class T> void EraseVectorItem( T &v, int index ) |
8 | { |
9 | v.erase(v.begin() + index); |
10 | } |
11 | |
12 | |
13 | |
14 | } |
15 | } |
Note:
See TracBrowser
for help on using the repository browser.