This commit is contained in:
邹晓航
2014-09-22 19:42:39 +08:00
parent 0c1897ba95
commit 8fc0180e74
2 changed files with 4 additions and 7 deletions

View File

@@ -88,7 +88,7 @@ namespace TinySTL{
Size n, const T& x, _false_type){
int i = 0;
for (; i != n; ++i){
construct((first + i), x);
construct((T*)(first + i), x);
}
return (first + i);
}