[
https://issues.apache.org/jira/browse/IGNITE-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237274#comment-15237274
]
ASF GitHub Bot commented on IGNITE-2981:
----------------------------------------
GitHub user isapego opened a pull request:
https://github.com/apache/ignite/pull/636
IGNITE-2981: Added EnableSharedFromThis and test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/isapego/ignite ignite-2981
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/636.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #636
----
commit 4636fed093df35b600d3ba8736091af6ad845c86
Author: isapego <[email protected]>
Date: 2016-04-12T14:30:34Z
IGNITE-2981: Added EnableSharedFromThis and test.
----
> CPP: Implement EnableSharedFromThis for internal use.
> -----------------------------------------------------
>
> Key: IGNITE-2981
> URL: https://issues.apache.org/jira/browse/IGNITE-2981
> Project: Ignite
> Issue Type: Task
> Components: platforms
> Affects Versions: 1.5.0.final
> Reporter: Igor Sapego
> Assignee: Igor Sapego
> Priority: Critical
> Fix For: 1.6
>
>
> We need to have an analogue of the {{std::enable_shared_from_this}} to be
> able to create new shared pointer instance inside of method of the current
> shared instance. Needed for example to implement transactions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)