|
Boost : |
From: Darin Adler (darin_at_[hidden])
Date: 2000-11-02 14:28:43
on 11/2/00 11:19 AM, Eric Weitzman at eweitzman_at_[hidden] wrote:
> Unfortunately, this also has the drawback (under vc6sp4, anyways) of
> causing the static to be multiply defined if the same template
> instantiation is made in more than one compilation unit. It seems
> to be the equivalent of defining a non-template member in a header
> and then including it in more than one compilation unit.
It's only the equivalent of that in a non-conforming compiler. A conforming
compiler is obliged to handle this properly.
-- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk