Reduce copy-pasta in tv-comparisons.cpp
commit98ca22ea3723f58e521a6a863547e85835fb9e21
authorAlexey Toptygin <alexeyt@fb.com>
Sun, 7 Oct 2018 20:11:47 +0000 (7 13:11 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sun, 7 Oct 2018 20:28:09 +0000 (7 13:28 -0700)
treec248c372453ac1a8bb5529c3ca909289ad32e792
parentcec839f68abe26ae3f192eddd247b7b1958f3f89
Reduce copy-pasta in tv-comparisons.cpp

Summary: Reduce copy-pasta in tv-comparisons.cpp by factoring some common code in the comparison helper structs into a templatized base class.

Reviewed By: ricklavoie

Differential Revision: D10230855

fbshipit-source-id: 27196d00dd61d3b7a8b2c870f5e9bf83b2c34fcd
hphp/runtime/base/tv-comparisons.cpp