C++ Logo

sg12

Advanced search

Re: [ub] new revision of p0593

From: Ion Gaztañaga <igaztanaga_at_[hidden]>
Date: Sun, 11 Feb 2018 23:56:17 +0100
On 09/02/2018 23:09, Jens Maurer wrote:
> On 02/09/2018 08:52 PM, Richard Smith wrote:
>> Please find attached a revised version of P0593
>
> Regarding std::bless in particular: While that's probably
> a useful facility for stuff such as mmap, I'd actually
> like to see a
>
> T * result = std::bless<T>(p)

+1

This could also help optimizations as we declare that p only holds a
type T and no any other type.

Best,

Ion

Received on 2018-02-11 23:56:21