Boost logo

Boost :

Subject: Re: [boost] [function] new implementation
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-11-01 12:03:01


> > I have to correct myself. While it seems to run fine in release mode,
> > I'm now seeing an assertion in debug mode at function_template.hpp, line
> 579.
> > I
> > have no idea what this means.
>
> Hi, thanks for reporting back again...
> Even though I was unable to reproduce the problem I know what's the
> cause...I'm sorry, "the hour was late" and I made an incorrect function
> alignment assumption in my last change (which what the assertion
> caught)...you can grab the fixed version from the sandbox...the small
> added overheads mentioned in the last post are also gone ;) This time I
> also ran regression tests in 64 bit mode...

Yep, that fixes the assertion. Thanks a lot. I'll do some performance
comparisons later.

> ps. even though I switched to a different implementation I would like to
> be able to reproduce the behaviour with the old one (maybe for a new
> test)...so if your use case is easily converted into sample code (i.e. w/o
> proprietary or 'closed code') I'll be more than happy to give it a spin ;)

The assertion fired during the construction of the first non-empty function
object. So it should be easy to reproduce.

Regards Hartmut
---------------
http://boost-spirit.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk