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)

Reply via email to