1
이 코드는 부스트 정신 libs와의 예에서, 그것은 OK입니다 :부스트 성령 피닉스 기능 오류
on_error<fail>(expr,error_handler_function(eh)("expecting ", _4, _3, _1));
오류 메시지 : 그러나
on_error<fail>(expr,error_handler_function(eh)("expecting ", _4, _3));
는,이 코드는 엑스 코드로 컴파일하는 데 실패했습니다 :
/usr/local/include/boost/spirit/home/phoenix/core/detail/function_eval.hpp:115:30:
error: too many template arguments for class template 'result'
fn::template result<BOOST_PP_ENUM_PARAMS(N, a)>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
eh(error_handle)
맞아, 나는에 대한 인수를 추가 210.
를 사용하여 제한의 일부를 제거 할 수 있습니다 그것! 오류에 필수적입니다 (그리고 분명히 맞지 않습니다.) – sehe