Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-12-16 18:01:52


At 07:27 PM 12/16/2000 +0000, deansturtevant_at_[hidden] wrote:

>Another point -- boost is full of ODR violations! Any inline or
>template code that is conditioned on some compile-time variable
>violates the ODR, doesn't it?

Only potentially. To avoid ODR violations, the rule-of-thumb is that the
same preprocessor symbols are defined across all translation units of the
program.

--Beman


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