You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (JIRA)" <ji...@apache.org> on 2017/10/13 09:16:00 UTC
[jira] [Assigned] (IGNITE-6592) Describe Ignite C++ pointer reading
and writing semantics
[ https://issues.apache.org/jira/browse/IGNITE-6592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Sapego reassigned IGNITE-6592:
-----------------------------------
Assignee: Prachi Garg (was: Igor Sapego)
> Describe Ignite C++ pointer reading and writing semantics
> ---------------------------------------------------------
>
> Key: IGNITE-6592
> URL: https://issues.apache.org/jira/browse/IGNITE-6592
> Project: Ignite
> Issue Type: Task
> Components: documentation
> Affects Versions: 2.2
> Reporter: Igor Sapego
> Assignee: Prachi Garg
> Fix For: 2.3
>
>
> Need to describe how user can read and write nullable values using pointer semantic in Ignite C++:
> {code}
> // One can write null value like this:
> writer.WriteObject<SomeObject*>(nullptr);
> // And read it like this:
> std::unique_ptr<SomeObject> nullableVal = reader.ReadObject<SomeObject*>();
> if (nullableVal) {
> // Processing...
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)