This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Arithmetic type emulator helper class for testcases.
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Chris Fairles <chris dot fairles at gmail dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 11 Jul 2008 09:20:27 -0500 (CDT)
- Subject: Re: Arithmetic type emulator helper class for testcases.
- Accept-language: en-US
- References: <fac6bb500807110548h7059d304k2e3eb4504756c47c@mail.gmail.com>
Hi Chris,
> Since I need it in several test case files, can it be placed
> in one of the util headers? Does it seem like something useful outside
> of duration testing?
The idea certainly makes sense. Many time in the past set of testcases for new facilities included some infrastructure like that. I think you should just make sure the code follows the existing practice for the general features and just submit it with the rest. Can you remind me where are we as regards <chrono>? Do we need some configury bits to enable the code only when some system calls are available or something like that?
Paolo.