Handle libc++ usage of inline namespaces for std::
authorPeter Griess <pgriess@fb.com>
Tue, 10 Sep 2013 16:36:38 +0000 (11:36 -0500)
committerPeter Griess <pgriess@fb.com>
Tue, 15 Oct 2013 01:47:11 +0000 (18:47 -0700)
commit2549fb3c263e2d50630e5f42c0ff404b76cb7370
tree538ad0498ea008ddb84000f89143160ca22d9b59
parent85064d3d24c90a3b836c2c3280ad38761943450b
Handle libc++ usage of inline namespaces for std::

Summary:
- libc++ uses inline namespaces in its implementation of the std
namespace; use its macros for our forward-declaring needs.

@override-unit-failures
The hphp_packedtv test has been sitting postponed for a long time. I
can't repro its failure locally anyway.

Test Plan:
- fbconfig -r folly && fbmake runtests
- ./configure && make check on Ubuntu/FC/Mac

Reviewed By: simpkins@fb.com

FB internal diff: D998578
folly/Portability.h
folly/Traits.h