On 11/15/19 12:07 PM, Nathan Sidwell wrote:
Jason,
using ENUM::v is proving rather tricky, when the memberness of the
enumerator and the context of the using decl differ.
struct B
{
enum E {e};
};
struct D
{
private:
using B::e; // ok
static inline const auto ok1 = e; // #1
Jason,
using ENUM::v is proving rather tricky, when the memberness of the
enumerator and the context of the using decl differ.
struct B
{
enum E {e};
};
struct D
{
private:
using B::e; // ok
static inline const auto ok1 = e; // #1 accessible
};
struct F : D
{
static inline const auto