|
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-08-17 05:00:41
I got a response from HP with a minimal example for the problem and a
workaround:
---%<---
struct A {
A(char* s) { }
};
#ifdef WORKAROUND
typedef A B;
#else
typedef A const B;
#endif
void foo(B) {}
main() { foo(B("foo")); }
--->%---
I changed basic_cstring_fwd.hpp accordingly and it seems to compile now
after some more minor changes. I'm currently running the regression tests;
if they work out ok, I will post a patch for boost.test.
Markus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk