Anton Korobeynikov wrote: > Hi, Tobias > >> !!! Not intended to commit as the assert is very expensive. > There is special "expensive checks" mode. It will be nice to include > assert there somehow... > You can do it as follows: #ifdef XDEBUG do expensive check here #endif Ciao, Duncan.