[Bug c++/67319] Short-hand concepts for variadic member functions broken

rbock at eudoxos dot de gcc-bugzilla@gcc.gnu.org
Sat Sep 26 18:27:00 GMT 2015


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

--- Comment #1 from Roland B <rbock at eudoxos dot de> ---
Using the terse notation works fine, btw:


// -----------------------------
template <typename T>
concept bool Any()
{
  return true;
}

struct my_struct
{
  auto sample(Any... args) -> void;
};

int main()
{
  my_struct{}.sample();
}
// -------------------------------



More information about the Gcc-bugs mailing list