This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libstdc++/5011: cannot instantiate std::binder1st<std::mem_fun1_t<void, unary_functor<const int: , void>, const int: > >



>Number:         5011
>Category:       libstdc++
>Synopsis:       cannot instantiate std::binder1st\<std::mem_fun1_t\<void, unary_functor\<const int&, void\>, const int&\> \>
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 04 11:26:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Arnold Metselaar
>Release:        3.0.2 (Debian) (Debian testing/unstable)
>Organization:
>Environment:
System: Linux khumbu 2.2.19 #5 Thu Nov 22 20:52:49 CET 2001 i686 unknown
Architecture: i686

	
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
cannot instantiate std::binder1st\<std::mem_fun1_t\<void, unary_functor\<const int&, void\>, const int&\> \>; forming reference to reference
transcript:
arnold [~/test]$ g++-3.0 -Wall testbind.cpp
/usr/include/g++-v3/bits/stl_function.h: In instantiation of `std::binder1st<std::mem_fun1_t<void, unary_functor<const int&, void>, const int&> >':
testbind.cpp:22:   instantiated from here
/usr/include/g++-v3/bits/stl_function.h:228: forming reference to reference 
   type `const int& const'
/usr/include/g++-v3/bits/stl_function.h:234: forming reference to reference 
   type `const int&'

	
>How-To-Repeat:
g++-3.0 -Wall testbind.cpp
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]