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


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

Re: std::bless

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.lang.c++
Subject Re: std::bless
Date Sun, 05 Jan 2020 16:11:38 -0800
Organization None to speak of
Lines 20
Message-ID <87lfqlmojp.fsf@nosuchdomain.example.com> (permalink)
References <g1sQF.28224$ZO7.26797@fx20.dcg> <9241508d-e9f0-431f-ae5b-2dd98df75ffd@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Injection-Info reader02.eternal-september.org; posting-host="d79f02f3814f7005520734cd2961b617"; logging-data="793"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tIKeR6MLDJYtjcsvB3yca"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Cancel-Lock sha1:HkQ+9hm6rBDfSI+6lgHUjn1a/hQ= sha1:JwFrlrd1/82OqzHRBoztySW3lqI=
Xref csiph.com comp.lang.c++:71161

Show key headers only | 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