This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/78702] [libstdc++] class __shim in locale::facet is private


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Feb 14 20:07:42 2017
New Revision: 245448

URL: https://gcc.gnu.org/viewcvs?rev=245448&root=gcc&view=rev
Log:
PR78702 fix accessibility of locale::facet::__shim

Backport from mainline
2017-01-16  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/78702
        * include/bits/locale_classes.h (locale::facet::__shim): Change from
        private to protected.
        * src/c++11/cxx11-shim_facets.cc (__shim_accessor): Define helper to
        make locale::facet::__shim accessible.

Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/bits/locale_classes.h
    branches/gcc-6-branch/libstdc++-v3/src/c++11/cxx11-shim_facets.cc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]