Publicidad
Publicidad

Más contenido relacionado

Último(20)

Publicidad

C++ 20 Relaxing the structured bindings customization point finding rules

  1. DR: Relaxing the structured bindings customization point finding rules
  2. ADL(Argument Dependent Lookup) 인수에 의존해 이름 공간을 검색하는 기능
  3. ADL 때문에 내가 원하는 함수를 부를 수 없는 경우가 있다
  4. 구조화된 바인딩을 사용할 때 멤버 변수에 get() 이 있으면 이것이 ADL 에 의해 우선시 되어서 제대로 동작 하지 않는 경우가 있었기 때문에 이를 사용자가 커스터마이징해서 쓸 수 있도록 규칙을 완화하였다. Now this rule has been fixed in a way that the member version is preferred only if it’s a template and its first template parameter is a non-type template parameter.
Publicidad