Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 24863 invoked from network); 10 Feb 2006 16:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 16:29:07 -0000 Received: (qmail 23371 invoked by uid 500); 10 Feb 2006 16:29:06 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 23360 invoked by uid 500); 10 Feb 2006 16:29:06 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 23349 invoked by uid 99); 10 Feb 2006 16:29:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2006 08:29:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of AntonP@moscow.vdiweb.com designates 195.210.189.132 as permitted sender) Received: from [195.210.189.132] (HELO mail.moscow.vdiweb.com) (195.210.189.132) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2006 08:29:06 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: tests compilation time Date: Fri, 10 Feb 2006 19:28:44 +0300 Message-ID: <4D6A8407B7AC6F4D95B0E55C4E7C4C6203A7A8AA@exmsk.moscow.vdiweb.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: tests compilation time Thread-Index: AcYuXw9K1VmaerJVQFqh9/hLNHZ/yQ== From: "Anton Pevtsov" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Martin Sebor wrote: > Incidentally, the test takes very long to compile [...] > One idea might be factor all the code that inevitably must be iterator- and algorithm-specific to a small helper template derived from an ordinary (non-template) base class, construct an object of > the appropriate derived type in the function that sets up all the template arguments (i.e., the types of the iterators and the algorithm to test), and pass this object by reference to the base class > in the test function. I've tried this way in the lib.set.union test but had no luck: I faced with the problem of the iterator type retrieving by the given constant (It is possible to hardcode all 64 possible iterators permutations and avoid the problem, but will this make sense?). So, I am not sure that I cought your idea above (did you mean something like traits class?).=20 Could you explain your approach or provide some example, please? Anyway I'll continue my attempts to reduce the test compilation time. Thanks, Anton Pevtsov