Commit 00126171 authored by Tudor Bosman's avatar Tudor Bosman Committed by Jordan DeLong

fix comments

Test Plan: no

Reviewed By: tjackson@fb.com

FB internal diff: D629502
parent ed448247
...@@ -1307,7 +1307,7 @@ public: ...@@ -1307,7 +1307,7 @@ public:
}; };
/** /**
* RangeConcat - For flattening generators of generators. * RangeConcat - For flattening generators of iterables.
* *
* This type is usually used through the 'rconcat' static value, like: * This type is usually used through the 'rconcat' static value, like:
* *
...@@ -1370,16 +1370,7 @@ public: ...@@ -1370,16 +1370,7 @@ public:
} //::detail } //::detail
/** /**
* Gen<T> - For wrapping template types in simple polymorphic wrapper. * VirtualGen<T> - For wrapping template types in simple polymorphic wrapper.
*
* This type is usually used through the 'rconcat' static value, like:
*
* map<int, vector<int>> adjacency;
* auto sinks =
* from(adjacency)
* | get<1>()
* | rconcat()
* | as<std::set>();
**/ **/
template<class Value> template<class Value>
class VirtualGen : public GenImpl<Value, VirtualGen<Value>> { class VirtualGen : public GenImpl<Value, VirtualGen<Value>> {
......
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