Conditionally compiled for_each with constexpr
authorAaryaman Sagar <aary@instagram.com>
Wed, 30 Aug 2017 21:36:25 +0000 (14:36 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 30 Aug 2017 21:58:57 +0000 (14:58 -0700)
commitf45b792f2f589050f74a02d5edb7ddb8be5703b9
treea22909be599aa52e8adedd156c1cab092dcccc9b
parent9ce176b1e0587a698d5930b70be86ca63a139af8
Conditionally compiled for_each with constexpr

Summary:
Code was breaking in versions of C++ where constexpr functions are
required to have one line bodies

Reviewed By: yfeldblum, mzlee

Differential Revision: D5739062

fbshipit-source-id: 6c509f1daf77751d33ce9c173a0d7f1d3bd2a006
folly/Foreach-inl.h
folly/Foreach.h