Click here to Skip to main content
12,698,913 members (23,320 online)

Comments by Priyanka Sabharwal81 (Top 1 by date)

Priyanka Sabharwal81 17-Mar-16 8:38am View
   
Thanks Philippe. But if every body understand every thing, then there would not be a question forum ever!!! The link that you had send tells how to use enable_shared_from_this and why to use it. How and why, does not answers my question. My concern is that the syntax that I wrote to bypass the use of enable_shared_from_this is not a complex one. Rather I felt that enable_shared_from_this is adding complexity. Is there any other scenario which I am missing that can only be resolved by using enable_shared_from_this and not the alternative that I wrote.
I know every problem has more than one solution, but we prefer the use of the easy one. Easy means that is more readable and easily writable.
cheers!

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid