addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [New-York-C-Developers-Group] C++ Meetup Ideas Welcome

From: Andrew M.
Sent on: Monday, January 28, 2013 1:02 PM

On Mon, Jan 28, 2013 at 12:44 PM, Justin Dearing <[address removed]> wrote:

I'm actually looking to learn these things. I'll let you know if I ever manage to teach myself enough to make a useful hour presentation. I'd love to hear a platform agnostic talk on Smart pointers. That might help me apply the win32 specific examples.

Ah, well now we are getting somewhere :)

How would everyone feel about us having a talk covering C++ smart pointers? I imagine such a talk would cover motivation and design, the C++03 facilities (auto_ptr and its problems), what boost offers (shared_ptr, weak_ptr, scoped_ptr, scoped_array) and why, and what the C++11 analogues are, migration paths. Some more advanced content on implementation details, shared_from_this, deleters, C++11 specific features, wrapping API's with explicit resource management, could make this pretty interesting.

There would be plenty of time to prepare because we already have talks lined up for February and March.

Any takers? Let me know...

As far as COM, its still relevant. For example, if you want to host the CLR in an executable (which I have a need to for a pet project), the CLR itself is a COM object. Secondly I'm going though Windows Internals by Mark Russinovich which covers the internals of windows and the C API. What it doesn't cover, and what my next obvious knowledge gap will be after that, is COM.

This book is a pretty great resource for understanding the why and how of COM, though it is quite old at this point:


Finally I'd be interested in a talk about your error_or project. It might be an applicable pattern to other languages.

Unfortunately, that talk already happened last week. Other languages do in fact use this pattern. Two that I know of, though I'm sure there are others:


Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy