do not include iostream from Range.h
authorPhilip Pronin <philipp@fb.com>
Sun, 14 Apr 2013 02:06:37 +0000 (19:06 -0700)
committerJordan DeLong <jdelong@fb.com>
Sun, 21 Apr 2013 20:21:23 +0000 (13:21 -0700)
commit570ec3333e183881ffe326fe64c97605a92008d1
tree371a9c3024d144e1e114937924a8c5f64337fcc9
parentbac6c8f19e2dfb35b56c3d8985736fcdd1b1af1e
do not include iostream from Range.h

Summary:
folly/Range.h is extensively used in fbcode, try to avoid including
<iostream> (which is pretty heavy), include forward declarations
(<iosfwd>) instead.

Also transitioned it from 'std type_traits' + 'boost type_traits' to
'std type_traits'.

Test Plan: compiled, ran tests

Reviewed By: soren@fb.com

FB internal diff: D774834
folly/Range.cpp
folly/Range.h
folly/experimental/exception_tracer/ExceptionTracer.cpp
folly/experimental/exception_tracer/ExceptionTracer.h
folly/experimental/exception_tracer/ExceptionTracerTest.cpp