
30 Nov
2004
30 Nov
'04
8:46 p.m.
The header boost/smart_cast.hpp declares the template functions smart_cast and smart_cast_reference as static. The SunPRO compiler issues a warning for this: "/home/nbde52d/src/boost_1_32_0/boost/smart_cast.hpp", line 264: Warning (Anachronism): "static" is not allowed and is being ignored. "/home/nbde52d/src/boost_1_32_0/boost/smart_cast.hpp", line 292: Warning (Anachronism): "static" is not allowed and is being ignored. Does "static" make any sense here? -- Caleb Epstein caleb dot epstein at gmail dot com