public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/65165] New: missing std::promise::set_value_at_thread_exit
@ 2015-02-22 17:49 carlo at gcc dot gnu.org
  2015-02-22 17:51 ` [Bug libstdc++/65165] " carlo at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: carlo at gcc dot gnu.org @ 2015-02-22 17:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65165

            Bug ID: 65165
           Summary: missing std::promise::set_value_at_thread_exit
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: carlo at gcc dot gnu.org

Assuming en.cppreference.com is right, this member function should exist since
C++11. See
http://en.cppreference.com/w/cpp/thread/promise/set_value_at_thread_exit

It exists/works in clang 3.5. I see no reference to this function anywhere on
gnu.org (ie, the status page), so I thought it might be something that has been
overlooked.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libstdc++/65165] missing std::promise::set_value_at_thread_exit
  2015-02-22 17:49 [Bug libstdc++/65165] New: missing std::promise::set_value_at_thread_exit carlo at gcc dot gnu.org
@ 2015-02-22 17:51 ` carlo at gcc dot gnu.org
  2015-02-22 20:41 ` redi at gcc dot gnu.org
  2015-02-22 20:43 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: carlo at gcc dot gnu.org @ 2015-02-22 17:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65165

--- Comment #1 from Carlo Wood <carlo at gcc dot gnu.org> ---
The same for std::promise::set_exception_at_thread_exit I guess.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libstdc++/65165] missing std::promise::set_value_at_thread_exit
  2015-02-22 17:49 [Bug libstdc++/65165] New: missing std::promise::set_value_at_thread_exit carlo at gcc dot gnu.org
  2015-02-22 17:51 ` [Bug libstdc++/65165] " carlo at gcc dot gnu.org
@ 2015-02-22 20:41 ` redi at gcc dot gnu.org
  2015-02-22 20:43 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2015-02-22 20:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65165

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Already fixed on trunk.

https://gcc.gnu.org/gcc-5/changes.html#libstdcxx


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libstdc++/65165] missing std::promise::set_value_at_thread_exit
  2015-02-22 17:49 [Bug libstdc++/65165] New: missing std::promise::set_value_at_thread_exit carlo at gcc dot gnu.org
  2015-02-22 17:51 ` [Bug libstdc++/65165] " carlo at gcc dot gnu.org
  2015-02-22 20:41 ` redi at gcc dot gnu.org
@ 2015-02-22 20:43 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2015-02-22 20:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65165

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's also documented as missing in previous releases e.g.
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/libstdc++/manual/manual/status.html#status.iso.2011


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-22 20:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-22 17:49 [Bug libstdc++/65165] New: missing std::promise::set_value_at_thread_exit carlo at gcc dot gnu.org
2015-02-22 17:51 ` [Bug libstdc++/65165] " carlo at gcc dot gnu.org
2015-02-22 20:41 ` redi at gcc dot gnu.org
2015-02-22 20:43 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).