circle icon indicating copy to clipboard operation
circle copied to clipboard

support constrained placeholder-type-specifier on function return types

Open seanbaxter opened this issue 3 years ago • 0 comments
trafficstars

template<typename T>
concept size4 = sizeof(T) == 4;

template<typename T>
size4 auto foo(T x) {
  return 2 * x;
}

this breaks. oops.

seanbaxter avatar May 08 '22 19:05 seanbaxter