Boost logo

Boost Users :

From: Richard (legalize+jeeves_at_[hidden])
Date: 2008-02-15 16:44:07


[Please do not mail me a copy of your followup]

boost-users_at_[hidden] spake the secret code
<011a01c87003$0ff77eb0$6407a80a_at_pdimov2> thusly:

>[...] This thread did spark my interest though and I was able to add
>&& and || to the trunk, complete with the proper short-circuit semantics.

Can you elaborate on the approach you took? I thought it was
essentially impossible to replicate the short-circuit semantics with
your own user-defined operator|| and operator&&.

-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>
        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

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