Boost logo

Boost :

From: Johan Paulsson (boost.org_at_[hidden])
Date: 2006-11-07 18:58:48

I wrote:
> Below is the compile-time assert I use.
> Would it be a useful addition to Boost?

To make it easier to digest, I put together a minimal web page with
- Source code
- A test
- Compiler errors from the test, using different compilers (It's
supposed to make compiler errors). Compiler errors from the same test
also included, to make it easy to compare.

I think the benefits of my compile time assert is:
- No macros
- No compiler-specific implementation
- It's easy to make useful error-messages

Please have a look at <>

Or download it (12kb) <>

Thank You,
Johan Paulsson

Boost list run by bdawes at, gregod at, cpdaniel at, john at