On Thu, 03 Apr 2003 14:15:27 +0200, Gennaro Prota
<[EMAIL PROTECTED]> wrote:

>Now, for the gurus: this is the current interface of reference:
>
>class reference 
>{ 
>    friend class dynamic_bitset<Block, Allocator>; 
>    
>    // the one and only non-copy ctor 
>    reference(dynamic_bitset& bs_, size_type bit_);

Please don't scold me about the use of the term "interface" here. Just
sloppy language.


>public: 
>    ...
>    reference& operator=(const reference& j);  // for b[i] = b[j]
>    reference& operator|=(const reference& j); // for b[i] |= b[j]
>    ...

In case this is confusing: the declarations and the corresponding
comments use the letter j with different meanings. I would have better
written:

   reference& operator=(const reference& rhs); // for b[i] = b[j]
   ...


Genny.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to