Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-01-06 08:41:37

Steve -

1) I couldn't get the files to compile with either Builder4 (patch 2) or
g++ (2.95).
In the case of Builder 4 it looks as though numeric_limits<T> is
incorrectly implemented for non-specialisations, I haven't been able to
figure out all the g++ errors but all the remove_cv<T>::type declarations
need to be prefixed with typename to be strictly correct.

2) The is_POD and has_XXX templates look as if they need to be implemented
in terms of is_builtin_integer etc not is_integer<>, otherwise user defined
classes get wrongly classified if numeric_limits is specialised for them.

3) I deliberately did not specialise templates in the origin-test file as a
little hint to compiler implementors that some built-in support would be
really nice :-) Probably can't win on this one though.

4) I still don't like using "type" to indicate a value - but it looks like
I've been out-voted on this :-)

- John

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