[Bug libstdc++/82966] New: node_handle swap fails to compile
dnljms at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 13 16:18:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82966
Bug ID: 82966
Summary: node_handle swap fails to compile
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: dnljms at gmail dot com
Target Milestone: ---
Created attachment 42593
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42593&action=edit
Simple demonstration of error
Swapping a node handle fails because 'propagate_on_container_swap' is a type
but is used as a value in bits/node_handle.h. It should be
'propagate_on_container_swap::value'. I've attached an example that fails to
compile.
More information about the Gcc-bugs
mailing list