Boost logo

Boost :

From: Dietmar Kuehl (dietmar.kuehl_at_[hidden])
Date: 1999-12-13 10:09:30

At 04:47 PM 12/12/99 -0500, jsiek_at_[hidden] wrote:
>Should there be any requirements on the property accessor object
>itself? Such as Assignable? (so it can be passed by-value)

At least in the version of the requirements I have (I haven't checked the
version in the DocVault), the Readable and Writable property accessors
are CopyConstructible. This is said in front of the table with additional
requirements. I think it is in the version I uploaded, too.

I think CopyConstructible is sufficient and I don't see any requirement
for Assignable. If people feel that CopyConstructible is not sufficient
I can extend it to Assignable. However, since I envision eg. property
accessors which just use an existing container and store a reference to
this container, assignment might not necessarily easy to achieve in all
cases (OK, instead of a reference a pointer can be stored...).


Boost list run by bdawes at, gregod at, cpdaniel at, john at