[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

Dan Gohman djg at cray.com
Fri Jun 29 13:06:00 PDT 2007


>> Add a default parameter to a SmallVector constructor to allow it to
>> be called with just an initial length value, just like in std::vector.
> 
> Ok.
> 
> Should this be marked 'explicit'?

Yep. Good catch.

Dan

-- 
Dan Gohman, Cray Inc.



More information about the llvm-commits mailing list