Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #71162

Re: std::bless

From "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups comp.lang.c++
Subject Re: std::bless
Date 2020-01-05 16:33 -0800
Organization Aioe.org NNTP Server
Message-ID <qutv8r$d3i$1@gioia.aioe.org> (permalink)
References <g1sQF.28224$ZO7.26797@fx20.dcg> <9241508d-e9f0-431f-ae5b-2dd98df75ffd@googlegroups.com> <87lfqlmojp.fsf@nosuchdomain.example.com>

Show all headers | View raw


On 1/5/2020 4:11 PM, Keith Thompson wrote:
> Öö Tiib <ootiib@hot.ee> writes:
> [...]
>> Uhh. Calm down, what is that std::bless even supposed to be? Never heard
>> of it.
> 
> It's mentioned in this proposal, "Implicit creation of objects for
> low-level object manipulation" published 2018-02-11:
>      http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0593r2.html
> It looks similar to std::launder, introduced in C++17.

Thanks for the reference. I have not experienced std::bless yet, but 
have heard of std::launder. Never used them.


> 
> Perl has a built-in "bless" function.  I presume that's where the name
> came from.
> 
> It's not mentioned in the latest C++ draft standard.
> 

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

std::bless Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> - 2020-01-05 20:53 +0000
  Re: std::bless Öö Tiib <ootiib@hot.ee> - 2020-01-05 15:00 -0800
    Re: std::bless Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-01-05 16:11 -0800
      Re: std::bless "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-01-05 16:33 -0800

csiph-web