|
Boost : |
Subject: [boost] Making lots of compile FAIL tests
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2015-06-17 10:57:25
I've started to devise some tests to ensure that things that really should not compile, do in fact
compile-fail.
So far I've produced a few files with a single statement that should fail inside a int main(){}.
But it's looking at though it will get pretty tedious pretty soon :-(
(I see for example that Boost.Multiprecision has some 50-ish compile_fail items)
Is there some slicker way of doing this?
Paul
--- Paul A. Bristow Prizet Farmhouse Kendal UK LA8 8AB +44 (0) 1539 561830
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk