equality for exception_wrapper
authorVictor Loh <vloh@fb.com>
Fri, 12 Sep 2014 22:03:39 +0000 (15:03 -0700)
committerDave Watson <davejwatson@fb.com>
Mon, 15 Sep 2014 21:30:19 +0000 (14:30 -0700)
commit6b82bb37845de2c5f4885fd2527e9a4a77bb0129
treea8968def4ede936aa8237942c3c9314190cf8188
parent07286cf094a743a4db0b7cc68f7daf0337064d37
equality for exception_wrapper

Summary:
std::exception_ptr expose methods to compare equality and it
will be great to do so for folly::exception_wrapper (it helps in gmock
testing).

Test Plan: added some unit tests to test this new functionality

Reviewed By: mhorowitz@fb.com

Subscribers: njormrod

FB internal diff: D1546597
folly/ExceptionWrapper.h
folly/test/ExceptionWrapperTest.cpp