raii, demacroification