You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Kevin Klues (JIRA)" <ji...@apache.org> on 2016/04/02 23:33:25 UTC

[jira] [Created] (MESOS-5082) Discrepancy between clang and gcc in `using` declarations

Kevin Klues created MESOS-5082:
----------------------------------

             Summary: Discrepancy between clang and gcc in `using` declarations
                 Key: MESOS-5082
                 URL: https://issues.apache.org/jira/browse/MESOS-5082
             Project: Mesos
          Issue Type: Bug
         Environment: gcc
            Reporter: Kevin Klues
            Assignee: Kevin Klues


There appears to be a discrepancy between clang and gcc, which allows
clang to accept `using` declarations of the form `using ns_name::name;`
that contain nested classes, structs, and enums after the `name` field
in the declaration (e.g. `using ns_name::name::enum;`).

The language for describing this functionality is ambiguous in the
C++11 specification as referenced here:
http://en.cppreference.com/w/cpp/language/namespace#Using-declarations



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)