If by mistake the programmer passes a regular array to one of those functions, it will result in a compilation error. If we were not using this functor but the standard array type, the compiler would not be able to detect the error, and we would get a runtime error at some undetermined date in the future, which is much worse.
만일 프로그래머가 실수로 이러한 펑터에 (역주: 원문에는 function이라 되어 있지만 맥락상 펑터가 맞는 것으로 보임) 보통의 배열을 넘긴다면, 컴파일 에러가 날 것이다. 만일 우리가 펑터를 사용하지 않고 표준 배열 타입을 사용한다면, 컴파일러는 에러를 검지하지 못할 것이고, 훨씬 더 나쁜 결과로 런타임 에러를 야기할 것이다.ParaCrawl Corpus ParaCrawl Corpus