Compute masks in IPAddressV4
authorYedidya Feldblum <yfeldblum@fb.com>
Sat, 29 Jul 2017 18:51:38 +0000 (11:51 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 29 Jul 2017 19:08:28 +0000 (12:08 -0700)
commit9ab155789d6e61fb36742bebaadbaa2aa6af189f
tree4fe556b73d831e839e1086f87546e25ff5f30336
parentefc4ca1ecfa090028b6260f7d77373ebd0aa8b45
Compute masks in IPAddressV4

Summary: [Folly] Compute masks in `IPAddressV4`. Just like in `IPAddressV6`.

Reviewed By: WillerZ

Differential Revision: D5524197

fbshipit-source-id: ebeeab28304bff4f6150cf76216d170908e62aa4
folly/IPAddressV4.cpp
folly/IPAddressV4.h
folly/test/IPAddressTest.cpp