Add constexpr specifier for small_vector::max_size
authorTianjiao Yin <ytj@fb.com>
Tue, 18 Mar 2014 00:33:48 +0000 (17:33 -0700)
committerDave Watson <davejwatson@fb.com>
Tue, 18 Mar 2014 17:02:24 +0000 (10:02 -0700)
commit00162667c58a92d29a3af16bb11664da337a3c49
tree48de363dfb9c1e192bcca2688e7d5c0853377284
parent4d9662580cdcc559d9a557a9333e28bf311dd3ca
Add constexpr specifier for small_vector::max_size

Summary: Now we could use small_vector::max_size in constant expressions

Test Plan: unittest

Reviewed By: delong.j@fb.com

FB internal diff: D1224274
folly/small_vector.h
folly/test/small_vector_test.cpp