|
Boost : |
Subject: Re: [boost] Second iteration of Boost.XInt library uploaded, requesting further comments
From: DE (satan66613_at_[hidden])
Date: 2010-03-31 14:03:03
looking at implementation: don't you want to make global integer
constants members of enum(s)? as well as static integer constants
(haven't noticed so far)
i think that
enum {
bits_per_digit = whatever_it_is,
digit_hibit = so_does_this,
etc
};
is better than global objects (defined in a header)
to prove me wrong try to compile two source files including "xint.hpp"
and using xint::integer (just for sure) and link them together
i expect linker complaints about entities defined in several object
files
-- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk