Commit f3729dd6 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Cut outdated comment in FOR_EACH_RANGE

Summary:
[Folly] Cut outdated comment in `FOR_EACH_RANGE` implementation details.

It refers to a shortcoming in a specific version of boost which is no longer supported in folly.

(Note: this ignores all push blocking failures!)

Reviewed By: Orvid

Differential Revision: D14197473

fbshipit-source-id: 3379af1cc69ab96fcb77be0a56ea7a5762ff7db5
parent ed7dbad4
...@@ -218,14 +218,6 @@ namespace detail { ...@@ -218,14 +218,6 @@ namespace detail {
* *
* The code below uses `<` for a conservative subset of types for which * The code below uses `<` for a conservative subset of types for which
* it is known to be valid. * it is known to be valid.
*
* There is a bug in Boost 1.46: The filesystem::path::iterator defines
* operator< (via boost::iterator_facade), but that in turn uses
* uses distance_to which is undefined for that particular iterator. So
* doing detection of `<` invocability identifies
* boost::filesystem::path as properly comparable with <, but in fact
* attempting to use it would yield a compile-time error. Thus `<` is
* used only for a conservative subset of types.
*/ */
template <class T, class U> template <class T, class U>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment