[llvm-commits] [llvm] r54819 - /llvm/trunk/include/llvm/ADT/SmallVector.h
Owen Anderson
resistor at mac.com
Fri Aug 15 11:45:51 PDT 2008
Author: resistor
Date: Fri Aug 15 13:45:51 2008
New Revision: 54819
URL: http://llvm.org/viewvc/llvm-project?rev=54819&view=rev
Log:
Add a value_type typedef to SmallVector, to make it more compatible with STL adapters.
Modified:
llvm/trunk/include/llvm/ADT/SmallVector.h
Modified: llvm/trunk/include/llvm/ADT/SmallVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallVector.h?rev=54819&r1=54818&r2=54819&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallVector.h Fri Aug 15 13:45:51 2008
@@ -90,6 +90,7 @@
}
typedef size_t size_type;
+ typedef T value_type;
typedef T* iterator;
typedef const T* const_iterator;
More information about the llvm-commits
mailing list