This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/21244] Confusion in template instantiation


------- Additional Comments From pcarlini at suse dot de  2005-04-27 08:54 -------
The second example seems to me also a duplicate of 19404. This is a reduced
testcase:

class Foo { };
template<class T> void operator/(const Foo&, T);
enum { _S_word_bit = 1 };
class vector_bool
{ void _M_allocate() { (_S_word_bit - 1) / _S_word_bit; } }; 
vector_bool bar;

Andrew, can you confirm?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21244


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