Adjust the constexpr strlen implementation to handle up to 4kb strings
Summary: Previously it was only capable of handling 512 byte strings under MSVC due to the constexpr recursion depth limit being 512 by default under MSVC. In the future once we have C++14 constexpr everywhere, this should just be a for loop, which should remove the limit. Reviewed By: yfeldblum Differential Revision: D9230717 fbshipit-source-id: 88bcf0ef94b200301eb41392482e910b2e8de008
Showing
Please register or sign in to comment