[ 
https://issues.apache.org/jira/browse/GEODE-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463980#comment-16463980
 ] 

ASF subversion and git services commented on GEODE-4977:
--------------------------------------------------------

Commit bea179817c7e8c589b4f87845f8651c076ef2920 in geode-native's branch 
refs/heads/develop from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=bea1798 ]

 GEODE-4977: Make query results behave like standard containers (#288)

* Adds begin/end to Struct.
* Remove Java style hasNext/next methods.
* Cleanup SelectResults::iterator.
* Remove unused / untested methods.
* Refactor for .NET Enumerable.
* Removes SelectResultsIterator.
* Workaround for Solaris for-range virtual method compiler bug.
* Adds missing Serializable::create(std::basic_string<>)
* Adds missing CacheableKey::create(std::basic_string<>)
* Renames C++ Struct::length to size.
* Renames .NET Struct::Length to Count.


> StructSet should behave like std C++ collection types.
> ------------------------------------------------------
>
>                 Key: GEODE-4977
>                 URL: https://issues.apache.org/jira/browse/GEODE-4977
>             Project: Geode
>          Issue Type: Task
>          Components: native client
>            Reporter: Jacob S. Barrett
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> Should be able to do things like this:
> {code:java}
> StructSet structSet = ...;
> for (const auto& object : structSet) {
>   ...
> }{code}
> or
> {code:java}
> StructSet structSet = ...;
> std::foreach(std::begin(structSet), std::end(structSet), func);{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to