Re: [eigen] iostream

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


ok, so i just implemented Hauke's suggestion.

However in eigen2 support mode (#define EIGEN2_SUPPORT), iostream
still gets included.

Benoit

2010/2/9 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> I guess that the idea is that not all users of Eigen are using
> iostream at all, so those who don't use it shouldn't have to pay a
> significant cost for it.
>
> Benoit
>
> 2010/2/9 Markus Moll <markus.moll@xxxxxxxxxxxxxxxx>:
>> Hi
>>
>> On Tuesday 09 February 2010 06:09:57 Benoit Jacob wrote:
>>> I just found this:
>>>
>>> http://llvm.org/docs/CodingStandards.html#ll_iostream
>>>
>>> Maybe we have to give up the convenience of having Eigen including
>>>  iostream?
>>
>> Hm... how does that affect Eigen? Personally, I wouldn't consider the extra
>> amount of work to construct the iostream objects critical for most
>> applications. Furthermore, I do not even see why _not_ including <iostream>
>> would prevent the io objects from being created (it doesn't say that anywhere
>> in the standard, afaik).
>> (There is another issue with <iostream> basically only declaring std::cin and
>> the like in C++98, but this is an acknowledged defect)
>>
>> Markus
>> --
>> PGP key on www.esat.kuleuven.be/~mmoll/public_key.pgp
>> Fingerprint is
>> 90C4 B47D 1A00 5AC1 9147  3197 EDA7 1E0E 99E4 9EDB
>>
>>
>>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/