Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-09-23 07:11:19


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Doug,

On Sunday 22 September 2002 23:12, Douglas Gregor wrote:
> Thanks for catching this. I've added a testcase for it, and committed a fix
> that _should_ be portable (about to test MSVC6...) to both the branch and
> trunk.

The fix breaks for Intel 6.0.1 on linux. The problem is that
intel does not find an appropriate overload when calling

template <class T>
void foo(T const& t);

with a function. It compiles if foo's argument type is T&. g++-3.1.1 and
como-4.3.0.1 compile both. I can't tell whether it is legal or not.

- --Thomas

- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9jwTr0ds/gS3XsBoRAmp1AJ4h+2OWzFqJld0avc2KKrVjFKVGEgCfVH/8
RrkRkNpunlYbT0pvdquOwmo=
=a640
-----END PGP SIGNATURE-----


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