[
https://issues.apache.org/jira/browse/GEODE-5168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacob S. Barrett updated GEODE-5168:
------------------------------------
Description:
Support {{region::putAll}} using [initializer
list|http://en.cppreference.com/w/cpp/utility/initializer_list].
{code:c++}
region->putAll({{1, "one"}, {2, "two"}, {3, "three"}});
{code}
This should convert to:
{code:c++}
region->putAll(std::unordered_map({{CacheableInt32(1), CacheableString("one")},
...}
{code}
was:
Support {region::putAll} using [initializer
list|http://en.cppreference.com/w/cpp/utility/initializer_list].
{{{c++
region->putAll({{1, "one"}, {2, "two"}, {3, "three"}});
}}}
This should convert to:
{{{
region->putAll(std::unordered_map({{CacheableInt32(1), CacheableString("one")},
...}
}}}
> Allow initializer-list as input on region::putAll
> -------------------------------------------------
>
> Key: GEODE-5168
> URL: https://issues.apache.org/jira/browse/GEODE-5168
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Jacob S. Barrett
> Priority: Major
>
> Support {{region::putAll}} using [initializer
> list|http://en.cppreference.com/w/cpp/utility/initializer_list].
> {code:c++}
> region->putAll({{1, "one"}, {2, "two"}, {3, "three"}});
> {code}
> This should convert to:
> {code:c++}
> region->putAll(std::unordered_map({{CacheableInt32(1),
> CacheableString("one")}, ...}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)