Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-10 18:11:14


on Fri Aug 10 2007, <qiaozhiqiang-AT-datangmobile.cn> wrote:

> // 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<return_by_value> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net