|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-03-09 08:44:41
--- Craig Henderson <cdm.henderson_at_[hidden]> wrote:
[...]
> template<typename T>
> struct myval2
> {
> BOOST_STATIC_CONSTANT(int, value=T::value);
>
> myval<value> myval_obj; // <-- BCC error E2231
> };
This is a classic for Borland :-/ All the times I've encountered it, it always
went away by qualifying the name and adding parentheses:
myval<(myval2::value)> myval_obj;
Genny.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk