Boost logo

Boost :

From: Gabriel Dos Reis (Gabriel.Dos-Reis_at_[hidden])
Date: 2001-03-27 15:49:09


Jeremy Siek <jsiek_at_[hidden]> writes:

| On Tue, 27 Mar 2001, Toon Knapen wrote:
| toon> This could be supported by means of a begin and end iterator
| toon> for every dimension : e.g.
| toon> A[begin_row_index, end_row_index][begin_col_index, end_col_index]
|
| Hmm, we can't have operator[] with two arguments... but how about
| something close to this:
|
| A[indirect(begin_row_index, end_row_index)]
| [indirect(being_col_index, end_col_index)]

Without expression-templates I suspect that will bring in performance
lost. Please, let us not trade syntax for functionalities/semantics.

What is really wrong with operator()?

-- Gaby


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk