Make sure folly::dynamic arrays can be used with folly::gen
authorMarcus Holland-Moritz <mhx@fb.com>
Thu, 13 Mar 2014 00:27:09 +0000 (17:27 -0700)
committerDave Watson <davejwatson@fb.com>
Tue, 18 Mar 2014 17:01:41 +0000 (10:01 -0700)
commitf8e187f69922979c386394e6b39fcbab0c0d4ef3
treeb950deae73a7c3d9a9b9f73477f877dd5f227ec7
parent843b72c05efafc75f2545bc84b856ae6fad5c53b
Make sure folly::dynamic arrays can be used with folly::gen

Summary:
Define a value_type for folly::dynamic to make arrays work with
folly::gen::from.

Test Plan:
- added new unit test
- fbconfig folly/test && fbmake runtests

Reviewed By: tjackson@fb.com

FB internal diff: D1216358
folly/dynamic.h
folly/test/DynamicTest.cpp