make to<bool> skip range check
authorMarc Horowitz <mhorowitz@fb.com>
Mon, 21 Sep 2015 16:42:44 +0000 (09:42 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Mon, 21 Sep 2015 17:20:20 +0000 (10:20 -0700)
commitbe90fbfb2424ba27822e9055283896cefc9eafd2
tree5228c2a7d0ff226783d7dd0303f0e44616ab743e
parentfacd5a7e615ede30cc3b537c689b9ca195fcc081
make to<bool> skip range check

Summary: to<bool>(42) should return true, not throw an exception.

Reviewed By: @yfeldblum

Differential Revision: D2459766
folly/Conv.h
folly/test/ConvTest.cpp
folly/test/JsonTest.cpp