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


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

Re: Greatly simplify multithreaded access to global object

From David Brown <david.brown@hesbynett.no>
Newsgroups comp.lang.c++
Subject Re: Greatly simplify multithreaded access to global object
Date 2022-12-31 18:45 +0100
Organization A noiseless patient Spider
Message-ID <topsf8$12qbr$1@dont-email.me> (permalink)
References <b5d4afb7-1e6d-4753-bbde-963f9331720bn@googlegroups.com> <bc9b1453-cbdb-4f88-b0c5-38135ce9229bn@googlegroups.com> <topmfe$434$1@gioia.aioe.org>

Show all headers | View raw


On 31/12/2022 17:02, Muttley@dastardlyhq.com wrote:
> On Sat, 31 Dec 2022 07:41:30 -0800 (PST)
> Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> wrote:
>> On Thursday, December 22, 2022, I wrote:
>>> I don't know if I've re-invented the wheel here
>>> but I can't remember having seen something
>>> like this in the C++ standard library nor Boost
>>> nor wxWidgets.
>>
>> I've written code that will work on C++11, and which is optimised for C++17
>> which has guaranteed return value optimisation:
> 
> Thats nice. What does "return value optimisation" mean in practice then?
> 

See if this helps: <https://en.cppreference.com/w/cpp/language/copy_elision>


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


Thread

Greatly simplify multithreaded access to global object Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2022-12-22 11:41 -0800
  Re: Greatly simplify multithreaded access to global object Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2022-12-22 11:51 -0800
  Re: Greatly simplify multithreaded access to global object scott@slp53.sl.home (Scott Lurndal) - 2022-12-22 20:11 +0000
    Re: Greatly simplify multithreaded access to global object Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2022-12-22 12:25 -0800
    Re: Greatly simplify multithreaded access to global object "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-12-22 15:39 -0800
    Re: Greatly simplify multithreaded access to global object "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-12-22 15:42 -0800
  Re: Greatly simplify multithreaded access to global object David Brown <david.brown@hesbynett.no> - 2022-12-22 21:41 +0100
    Re: Greatly simplify multithreaded access to global object Paavo Helde <eesnimi@osa.pri.ee> - 2022-12-22 23:05 +0200
      Re: Greatly simplify multithreaded access to global object David Brown <david.brown@hesbynett.no> - 2022-12-23 00:11 +0100
  Re: Greatly simplify multithreaded access to global object Paavo Helde <eesnimi@osa.pri.ee> - 2022-12-22 23:01 +0200
  Re: Greatly simplify multithreaded access to global object Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2022-12-31 07:41 -0800
    Re: Greatly simplify multithreaded access to global object Muttley@dastardlyhq.com - 2022-12-31 16:02 +0000
      Re: Greatly simplify multithreaded access to global object David Brown <david.brown@hesbynett.no> - 2022-12-31 18:45 +0100

csiph-web