[llvm-commits] [llvm] r42324 - /llvm/trunk/docs/ProgrammersManual.html

Gabor Greif gabor at mac.com
Tue Sep 25 15:50:29 PDT 2007


What about doing something like this:


#ifdef DEBUG
template <>
struct std::default_alloc< std::vector< bool > > {};
#endif

It should (modulo my typos) make allocation of all
vector<bool>
impossible in the debug builds.

Just an idea.

Cheers,

	Gabor




More information about the llvm-commits mailing list