Boost logo

Boost :

From: Firingme (firingme_at_[hidden])
Date: 2003-10-08 22:48:04


Compiler : VS2003
STL : P.J's version
Test File : \boost\libs\function\example\bind1st.cpp

Error Msg : Sorry, It's in Chinese, I don't know how to generator English
Error Msg On My WinXP CHS ver.

------ ÒÑÆô¶¯Éú³É: ÏîÄ¿: test, ÅäÖÃ: Debug Win32 ------

ÕýÔÚ±àÒë...
test.cpp
e:\MyC\test\test.cpp(32) : error C2079: ¡°f¡±Ê¹ÓÃ䶨ÒåµÄ class
¡°boost::function<Signature,Allocator>¡±
        with
        [
            Signature=int,
            Allocator=int
        ]
        e:\MyC\test\test.cpp(32) : ²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯
¡°boost::function<Signature,Allocator>¡±µÄÒýÓÃ
        with
        [
            Signature=int,
            Allocator=int
        ]
        e:\MyC\test\test.cpp(32) : ²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯
¡°boost::function<Signature,Allocator>¡±µÄÒýÓÃ
        with
        [
            Signature=int,
            Allocator=int
        ]
e:\MyC\test\test.cpp(34) : error C2440: ¡°=¡± : ÎÞ·¨´Ó
¡°std::binder1st<_Fn2>¡±×ª»»Îª¡°int¡±
        with
        [
            _Fn2=std::mem_fun1_t<int,X,int>
        ]
        Ã»ÓпÉÓÃÓÚÖ´ÐиÃת»»µÄÓû§¶¨ÒåµÄת»»ÔËËã·û£¬»òÕßÎÞ·¨µ÷ÓøÃÔËËã·û
e:\MyC\test\test.cpp(36) : error C2064: Ïî²»»á¼ÆËãΪ½ÓÊÜ 1 ¸ö²ÎÊýµÄº¯Êý

So I Need Some Help


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk