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


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

Re: std::bless

From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.lang.c++
Subject Re: std::bless
Date 2020-01-05 16:11 -0800
Organization None to speak of
Message-ID <87lfqlmojp.fsf@nosuchdomain.example.com> (permalink)
References <g1sQF.28224$ZO7.26797@fx20.dcg> <9241508d-e9f0-431f-ae5b-2dd98df75ffd@googlegroups.com>

Show all headers | View raw


Öö 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.

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.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    [Note updated email address]
Working, but not speaking, for Philips Healthcare
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next 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