Boost logo

Boost :

Subject: Re: [boost] [optional] Strict Aliasing Warnings on Trunk
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-12-17 12:59:21


AMDG

Bo Persson wrote:
> The gcc 4.4 documentation recommends using a union, instead of a type
> punned pointer or reference.
>

A union doesn't work for optional.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk