on Fri Aug 10 2007,
// Visual V++ 2005(8.0) sp1, boost 1.34.0 // union not is_class. // because there is BOOST_STATIC_ASSERT(is_class<T>::value) in make_instance_impl // can not export union. eg, class_<union my_u> // can not return_internal_reference<> when T not is_class, eg, return char*, char&, union u& // how to write return_internal_pointer: char* get(); // how to return_value_policy
work: char* get() // def_readwrite(union): default get() return by value ? // is_class<T> ? T& : T get() ??
Thanks for noticing this problem. Could you please create a ticket at http://svn.boost.org so it doesn't get lost? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com