Support constexpr_strlen under MSVC.
authorChristopher Dykes <cdykes@fb.com>
Mon, 1 Feb 2016 20:36:43 +0000 (12:36 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Mon, 1 Feb 2016 21:20:26 +0000 (13:20 -0800)
commitdb12591c87037bc679bbbe73820ecaff0b926e2d
treee24c40ed6188d4deb23ecac91cc3f684bed2b831
parent58e3caa4522155d9e4ab9176f06682284ad9b6aa
Support constexpr_strlen under MSVC.

Summary: MSVC doesn't support evaluating strlen at compile time, so implement our own version instead.

Reviewed By: yfeldblum, lbrandy

Differential Revision: D2856926

fb-gh-sync-id: 22222350b57d9eff6a06c9d0f37d43a3cb1f2534
folly/Portability.h
folly/json.cpp