Boost logo

Boost Users :

From: scott velasquez (scottv_at_[hidden])
Date: 2006-10-01 18:00:20


"David Klein" <dave_chp_at_[hidden]> wrote in message
news:451D3699.3040703_at_gmx.de...

> hi scott,

>

> make your Add() function take const references and it works.

> void Add( const boost::shared_ptr<OWidget>& widget )

>

> --

> HTH dave

That worked flawlessly! You have no idea how happy this makes me ;)

Seriously though, I was at the point where I was considering that maybe
boost wasn't for me.

Thanks for the quick replies!

-scottv


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net