cppalliance / safe-cpp

Boost Software License 1.0
152 stars 13 forks source link

compiler: error on data members with unbound lifetimes #32

Open seanbaxter opened 1 month ago

seanbaxter commented 1 month ago
choice A {
  owned(int),
  borrowed(const int^)
};

struct B {
  int owned;
  const int^ borrowed;
};