[C++-sig] Re: trying to compile simple test example with numeric arrays

Faheem Mitha faheem at email.unc.edu
Tue Apr 13 17:47:38 CEST 2004


On Tue, 13 Apr 2004 07:51:32 -0400, David Abrahams
<dave at boost-consulting.com> wrote:

> Faheem Mitha <faheem at email.unc.edu> writes:
>
>> On Mon, 12 Apr 2004 14:39:46 -0400, David Abrahams
>> <dave at boost-consulting.com> wrote:
>>
>> Yes, Actually if I do 
>>
>> object rem_row(numeric::array& y, const tuple& ind)
>> {
>>   return y.take<tuple>(ind);
>> }
>>
>> it still works. 
>
> I wasn't suggesting you leave out the extract.  Are you not using a
> fixed-width font in your mailer?  Deadly practice for a programmer!

I know you were not suggesting it. I just remarked that for a simple
python array, it `does the right thing'.

> I was suggesting you should leave out "<tuple>".

Yes.

>> Is this undesirable practice or not?
>
> Usually.

Ok.                                        Faheem.






More information about the Cplusplus-sig mailing list