Workaround a bug in template instation in MSVC 2017.3 with /permissive-
Summary: As described in the comment in `folly/stats/Histogram.h`, MSVC 2017.3 has issues with `/permissive-`. The bug has been fixed upstream, it's just waiting for release. These explicit template instantiations are never forward-declared anywhere, so, as long as `Histogram-defs.h` has been included, it's perfectly safe to just not do them. https://developercommunity.visualstudio.com/content/problem/81223/incorrect-error-c5037-with-permissive.html Reviewed By: yfeldblum Differential Revision: D5828891 fbshipit-source-id: 4db8407c9d35aa5bb3f7b81aa24f611b5787fb6e
Showing
Please register or sign in to comment