Symbol find

View: New views
2 Messages — Rating Filter:   Alert me  

Symbol find

by Daniel James :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The find method for 'qi::symbol' has a couple of problems. It calls
'tst::find' with rvalues, but 'tst::find's first argument is a
non-const reference. It also doesn't have a const overload. The
attached patch fixes these problems and adds some unit tests.

Daniel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Spirit-devel mailing list
Spirit-devel@...
https://lists.sourceforge.net/lists/listinfo/spirit-devel

find.patch (3K) Download Attachment

Re: Symbol find

by Joel de Guzman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel James wrote:
> Hi,
>
> The find method for 'qi::symbol' has a couple of problems. It calls
> 'tst::find' with rvalues, but 'tst::find's first argument is a
> non-const reference. It also doesn't have a const overload. The
> attached patch fixes these problems and adds some unit tests.

Patched. Thanks, Daniel.

Regards,
--
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net
http://www.facebook.com/djowel

Meet me at BoostCon
http://www.boostcon.com/home
http://www.facebook.com/boostcon



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Spirit-devel mailing list
Spirit-devel@...
https://lists.sourceforge.net/lists/listinfo/spirit-devel