Weird (unintuitive?) behavior of std::tuple

Jonathan Wakely jwakely.gcc@gmail.com
Mon Nov 1 00:01:00 GMT 2010


On 31 October 2010 11:52, Alex Dubov wrote:
>
> In my original usage case below, runtime errors will emerge for a wide
> variety of user specified _Tp types. This means, that either tuple/pair
> as currently implemented are unfit for such usage (and this should be
> documented somehow) or the implementation should be considered buggy.

The implementation's fine.  Search the web for "most vexing parse" to
see what Paolo is hinting at.



More information about the Libstdc++ mailing list