Boost logo

Boost Users :

From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2005-03-16 04:25:02


I'm building a dynamic library and i'm recording/tracing all the
function
calls to be able to reproduce bugs. I would like to know if operator< on
shared_ptr is determinist or not and if it is possible to have / change
the
behaviour of shared_ptr for adding it determinism.

In other words, in the following code i would like to know if is_less
will
always have the same value or not ?

shared_ptr<int> p1(new int(0));
shared_ptr<int> p2(new int(0));
bool is_less(p1 < p2);

Thanks,

renaud


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