25 constexpr std::uint32_t def_pattern = 0xABABABABUL;
33 volatile std::uint32_t *memory_position = memory_begin_position;
34 while( memory_position < memory_end_position )
36 (* memory_position ) = def_pattern;
41 volatile std::uint32_t *memory_check_position = memory_begin_position;
42 while( memory_check_position < memory_end_position )
44 if ((*memory_check_position) == def_pattern)
46 memory_check_position ++;