Workaround a bug in template instation in MSVC 2017.3 with /permissive-
authorChristopher Dykes <cdykes@fb.com>
Thu, 14 Sep 2017 01:59:20 +0000 (18:59 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 14 Sep 2017 02:05:22 +0000 (19:05 -0700)
commit0caa2c14220d6b681663670470f7e6a0997d6c11
tree044e7ffbb8034da6086806ac0b7d9e6b5bd1a8f0
parentfb0a122815ac6ed1c746aefb4246616d83f35c10
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
folly/stats/Histogram.cpp
folly/stats/Histogram.h