All pastes #447089 Raw Edit

Stupid VC++

public cpp v1 · immutable
·published 2007-04-18 20:37 UTC
rendered paste body
template <typename T, typename TAlloc = irrAllocator<T> >class string{	void operator += (T c)	{		append(c);	}	// There is a bug with MSVC++ 2005 SP1 which prevents this from working	// if we don't pass this by reference.#if defined(_MSC_VER)	void operator += (unsigned long& i)#else	void operator += (unsigned long i)#endif	{		append(string<T>(i));	}