Boost logo

Boost Users :

Subject: Re: [Boost-users] [Container] ptr_set with user define compare function
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-05-25 04:50:37


梁绍池 skrev:
> Hello, Steven
>
> Your test case is failed in my environment. I use boost 1.36.0
>
> then I replaced my boost with 1.39.0 and found it works!
>
> What's the difference between them?

This was a bug up to 1.38. The problem was that the expression used in
result_of<> passed the arguments by value which fails with abstract base
classes.

-Thorsten


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