Remove the recommendation against using std::function
authorReid Kleckner <reid@kleckner.net>
Wed, 2 Jul 2014 00:42:07 +0000 (00:42 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 2 Jul 2014 00:42:07 +0000 (00:42 +0000)
commit6dfd006fcf944ba84f3a0c6f9de576f9dc5857b9
tree5e3fea6b7a9d9382e63f3d10786b8092cd3df854
parent65e0e461186c98b4af1109bc680b2f3a749d70d5
Remove the recommendation against using std::function

Clang-cl supports MSVC-style RTTI now, and we can even compile
typeid(...) with /GR-.  Just don't instantiate std::function with a
polymorphic type, or bad things will happen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212148 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CodingStandards.rst