Use decltype rather than typeof
authorChristopher Dykes <cdykes@fb.com>
Fri, 1 Jul 2016 01:20:26 +0000 (18:20 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Fri, 1 Jul 2016 01:24:14 +0000 (18:24 -0700)
commit5f78f71a458c3451a3aa68bf517e83f937f61214
treee16516eca77ec7f39408926da717f86c061da6c2
parentef12daa27f5d9186bef1f3b4eaefbeebf6bf607d
Use decltype rather than typeof

Summary: Because `typeof` is a GCC specific extension whose standardized version is called `decltype`.

Reviewed By: yfeldblum

Differential Revision: D3506960

fbshipit-source-id: 0e7495028632b23f149bf8d0163d2000ebec2fcc
folly/test/FileUtilTest.cpp
folly/test/ThreadLocalTest.cpp